nssortdescriptor
Sort Array using Desciptors throws valueForUndefinedKey
I\'m trying to sort an NSMutableArray of YOEvento objects. YOEvento.h @interface YOEvento : NSObject { NSString *nombre; // stores the <name> tag[详细]
2023-04-11 00:11 分类:问答Assigning NSDictionary keys to NSStrings
I\'m importing a txt file with a list of first and last names. Each new name is on it\'s own line, so I imported them into a NSMutableArray and then split them with componentsSeparatedByString:@\"\\n\[详细]
2023-04-09 18:10 分类:问答Sorting based on one of many related entities
Entity B (Book) has a one-to-many relationship with the entity D (Description). The idea is that a book has different descriptions for different languages.[详细]
2023-04-09 02:07 分类:问答NSFetchedResultsController `performFetch:` Results No Longer Sorted
I managed a tableview with NSFetchedResultsController whose fetch request uses a simple sort on a date attribute. It sorts properly when it first loads but when I refresh or call the loadMore method ([详细]
2023-04-05 17:04 分类:问答Sorting of NSDictionary by amount of children per key
After searching the developer docs, google and other sites I still can\'t find how to accomplish the following...[详细]
2023-04-05 10:37 分类:问答CoreData Sort By NSDate not work?
In Code: - (NSFetchedResultsController *)getFetchedResultsController { if (_fetchedResultsController != nil) {[详细]
2023-04-04 16:58 分类:问答CoreData: NSSortDescriptor - Á to A, à to A (@selector)
I\'m using s selector (localizedCaseInsensitiveCompare:), but i need also to use the Diacritic selector.[详细]
2023-04-02 01:10 分类:问答Sorting an NSFetchRequest Based on a Property within a One-to-Many Relationship?
I\'ve been prowling through the SO search results and can\'t (thus far) find an answer to this question.[详细]
2023-03-25 06:42 分类:问答Sorting core data position changes with sort descriptors for iPhone
I have a CoreData entity with two attributes. One called \'position\' the other called \'positionChange\'. Both of them are integers where the position开发者_如何转开发 attribute is the current positi[详细]
2023-03-16 05:52 分类:问答Comparing an NSString with NSNumber in the string
Someone else designed this class to have an NSString for an ID (I don\'t know why to be honest).So, some objects have @\"\" for their ID (blank), some have @\"id12345\" or something to that effect.I w[详细]
2023-03-16 03:49 分类:问答