problem about nsorderedset-Collection of common programming errors


  • Sonny G
    ios filter nsmutablearray unique nsorderedset
    I have an NSObject with NSStrings inside. How do I add objects with unique obj.name only to an NSMutableArray? I tried NSOrderedSet but it only works if you add NSString to an array and not objects with NSString inside.Example.@@interface MyObject : NSObject @property (strong, nonatomic) NSString *name; @endNSMutableArray *array = {MyObject.name,MyObject.name,MyObject.name};How do I make sure that no two MyObjects have the same name?

  • nevan king
    ios uitableview core-data ios5 nsorderedset
    What are the steps that I need to perform to implement user-defined ordering in a UITableViewController with Core Data as the backing store? Do I still need to respond to -tableView:moveRowAtIndexPath:fromIndexPath:toIndexPath: or is the model re-ordering handled automatically by the table view? Can I just check the “Ordered” checkbox in the Core Data model file and expect it to transmit the changes from the table view to the store, or do I have to do more? Do I have to change the way my fetched

  • AlanGrant86
    ios exception core-data foundation nsorderedset
    i need your help i’ve got this frustrating “random” error.The app is compose of one Mapviewcontroller and a collectionview on the second controller.Sometimes when I return to the map from the second controller the app suddenly crash with this error on the the “trap” line. The crash report doesn’t point to any of my lines of code.EXC_BREAKPOINT (code=EXC_ARM_BREAKPOINT, subcode=0xdefe)I said “random error” because the same version of the same app could be build and run smooth for days, then sudde

Web site is in building