Top "Nsset" questions

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

Getting an object from an NSSet

If you can't get an object with objectAtIndex: from an NSSet then how do you retrieve objects?

objective-c cocoa cocoa-touch object nsset
How to return an NSMutableArray from an NSSet

I'm able to put the contents of an NSSet into an NSMutableArray like this: NSMutableArray *array = [set allObjects]; The compiler …

objective-c cocoa-touch nsmutablearray nsarray nsset
NSSet to NSArray casting calling objectAtIndex?

I'm trying to update an MKMapView by removing all annotations outside the visible area, and adding and removing some annotations …

objective-c ios nsarray mkmapview nsset
How to create array of unique object list in Swift

How can we create unique object list in Swift language like NSSet & NSMutableSet in Objective-C.

swift nsset
How do I put objects in an NSArray into an NSSet?

I have some NSDictionary objects stored in an NSArray called telephoneArray. I fetch the values for the key number and …

iphone objective-c cocoa-touch nsarray nsset
What is the most efficient way to sort an NSSet?

What's the most efficient way to sort objects in an NSSet/NSMutableSet based on a property of the objects in …

objective-c cocoa data-structures sorting nsset
How to search an NSSet or NSArray for an object which has an specific value for an specific property?

How to search an NSSet or NSArray for an object which has an specific value for an specific property? Example: …

iphone objective-c nsarray nspredicate nsset
NSArray from NSSet - Do I have to sort it myself?

I've got data in an NSSet, and I need to get it into an NSArray. Do I need to sort …

iphone sorting nsarray nsset
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
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 { @"ONE", @"…

iphone objective-c ios nsarray nsset