fetching core data values using predicate
问题 my sqlite have items in one of the entity and i wish to retrieve them out according to their categoryID e.g. categoryID 1 have 7 items and categoryID 2 have 5 items , when i clicked on an IBAction it will come to this method and retrieve according to my global.clickedTag but i'm unable to retrieve the values , any idea why? -(NSMutableArray*)fetchItem:array{ [self managedObjectContext]; NSEntityDescription *entity = [NSEntityDescription entityForName:@"IItem" inManagedObjectContext