Help with CoreData making a NSPredicate - Recursive Searching

后端 未结 3 437
执念已碎
执念已碎 2020-12-21 13:28

I am using CoreData for an iPhone project and I am stuck trying to build a predicate.

My core data entity is

Folder 
   parent  - Point to the fol         


        
3条回答
  •  离开以前
    2020-12-21 14:09

    Why not just grab all Folder entities with kNoSecurity?

    NSPredicate *pred = [NSPredicate predicateWithFormat:@"secure = %@ ", [NSNumber numberWithInteger:kNoSecurity]];
    

提交回复
热议问题