I have an application that uses CoreData, and I'm trying to find a better way to implement tagging and filtering by tag. For my purposes, if I were to do this in raw SQLite, I would only need three tables tags, item_tagsand, of course, my table items. Then filtering will be as simple as joining between three tables, where they itemsare only associated with the specified tags. Quite simple.
But is there a way to do this in CoreData and use it NSFetchedResultsController? It seems to NSPredicategive you the ability to filter through joins. NSPredicate'sis not full SQL, so I'm probably creeping up the wrong tree. I am trying to avoid overriding my application with SQLite without CoreData, as I enjoy the fact that CoreData gives me other areas. Yes, I reviewed (and built a test implementation) immersion in the original SQLite that CoreData generates, but this is not future proof, and I also want to avoid this.
Has anyone else tried to handle tagging / filtering with CoreData in UITableViewusingNSFetchedResultsController
source
share