core data - Predicate subquery for products associated by tag -


i have datamodel in core data such:

store <--->> product <<--->> tag 

i'm looking create query matches products based on associated tags. typical use scenario choose search storea , output storeb. selecting storea list of storea products presented. let's pick producta list brings second viewcontroller. second viewcontroller lists relating productb's (because earlier set storeb output). i'm following this: predicate subquery return items matching tags want added store filter of products. subquery way go? how include filter selected store?


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -