Top "Nsorderedset" questions

NSOrderedSet declares the programmatic interface for static sets of distinct objects.

Objective C literals for NSSet and NSOrderedSet?

What, if any, NSSet and NSOrderedSet operations can one perform with the new Objective-C collection literals? For NSArray, NSDictionary, and …

literals nsset nsorderedset
Iterating over an NSOrderedSet

I'm trying to iterate over an instance of NSOrderedSet. Something like this: func myFunc() { var orderedSet = NSOrderedSet(array: [ 42, 43, 44]) for n …

swift nsorderedset
How to add element to NSOrderedSet for Core Data?

I did some studies on this post. But none of its solution work for me. Let me explain what I …

ios5 core-data nsorderedset
NSMutableOrderedSet to NSMutableArray

array = [NSMutableArray arrayWithArray:[set allObjects]]; This worked with an NSSet, but how do I get it to work with an …

ios objective-c nsmutablearray nsorderedset nsmutableorderedset
CoreFoundation Trap error "Thread1:EXC_BREAKPOINT (code=EXC_ARM_BREAKPOINT, subcode=0xdefe)"

i need your help i've got this frustrating "random" error. The app is compose of one Mapviewcontroller and a collectionview …

ios exception core-data foundation nsorderedset
Array from set: why does NSSet use allObjects, while NSOrderedSet uses array?

In Foundation, if I want to convert a set to an NSArray, I can use: -[NSSet allObjects] -[NSOrderedSet …

objective-c nsorderedset
How to covert NSMutableOrderedSet to generic array?

I have this for loop, p is a NSManagedObject, fathers is a to-many relationship, so I need to cast NSMutableOrderedSet …

ios generics swift nsorderedset