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

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

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