nsset
Why is this piece of code so slow? (CoreData & NSSet)
I have an app and I\'m implementing full text search. I have 2 enitites: Keywords and Articles with a many-to-many relationship between them.[详细]
2023-01-31 03:31 分类:问答using NSPredicate with a set of answers
I have a set of strings containing 开发者_StackOverflow社区personIDs and I have a NSFetchedResults of people managedObjects with unique strPersonIDs.I tried to create an NSPredicate but it fails.Any h[详细]
2023-01-29 21:11 分类:问答App hanging/crashing after adding NSSet of entities with relationships
I have to main issues that I believe are related as they both occur on the same line of code. Data Model[详细]
2023-01-28 21:26 分类:问答How to turn an NSArray of strings into an array of unique strings, in the same order?
If you have an NSArray of strings { @\"ONE\", @\"ONE\", @\"ONE\", \"TWO\", @\"THREE\", @\"THREE\" } How would I turn that into[详细]
2023-01-25 20:52 分类:问答Comparing NSSets by a single property
I\'m trying to determine if two NSSets are \"equal\" but not in the sense of isEqualToSet. Items in the two sets are the same class but are not the same object, or even references to the same object.[详细]
2023-01-24 08:04 分类:问答comparing objects in NSSet with objects in NSArray
I\'ve been pondering over this problem for a while now but I am not able to get a nice concise efficient solution yet.[详细]
2023-01-23 21:39 分类:问答Using KVC to find the maximum value in an NSSet
I\'m trying to find the maximum value in the order property in this coredata object: #import <Foundation/Foundation.h>[详细]
2023-01-22 21:45 分类:问答merging an nsarray into an nsset and avoiding duplicates in objective-c on iphone
Edit: better example... So I have an NSMutableSet of \"existing\" objects and I\'d like to download JSON data, parse it, and merge these new objects with my existing ones, updating any duplicates wit[详细]
2023-01-22 05:46 分类:问答Preventing duplicate copies in a table view
I have an NSMutableArray that I display through a table view. The problem is that when I add objects to this array, I don\'t want to have dupl开发者_StackOverflowicates.[详细]
2023-01-18 16:45 分类:问答How to return an NSMutableArray from an NSSet
I\'m able to put the contents of an NSSet into an NSMutableArray like this: NSMutableArray *arra开发者_JAVA技巧y = [set allObjects];[详细]
2023-01-18 16:40 分类:问答