Top "Nsarray" questions

An immutable, integer-indexed array of objects from the Apple Foundation framework.

Static NSArray of strings - how/where to initialize in a View Controller

In a Master-Detail app I'd like to display a TableView with 5 sections titled: Your Move Their Move Won Games Lost …

ios objective-c nsmutablearray initialization nsarray
Store [String] in NSUserDefaults

I want to save a Swift Style String Array into NSUserDefaults, but acutally the "if" statement in the code says …

ios swift string nsarray nsuserdefaults
How to get the last object of an NSArray

So I have an array which the amount of items could vary. I was wondering if there is anyway I …

objective-c cocoa nsarray
Best way to sort an NSArray of NSDictionary objects?

I'm struggling with trying to sort an array of dictionaries. My dictionaries have a couple of values of interest, price, …

ios objective-c sorting nsarray nsdictionary
NSArray find object or objects - best practices

Solution: I have marked @BlackRider's answer as correct as it is the most versatile especially for complex comparisons however there …

ios objective-c nsarray
How to add an NSMutableArray to an NSMutableArray Objective-c

I am making the switch from Java to Objective-c, and I'm having some difficulty. I have searched this problem this …

ios objective-c xcode nsmutablearray nsarray
I want to sort an array using NSSortDescriptor

I am having a problem regarding sorting an array w.r.t database: NSSortDescriptor *sorter = [[NSSortDescriptor alloc] initWithKey:@"w" ascending:…

iphone nsarray jquery-ui-sortable sorting
Difference between NSArray and NSMutableArray

What is the difference b/w NSArray and NSMutableArray?

iphone nsmutablearray nsarray
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
How can I fill an NSArray dynamically?

I have a for loop. Inside that loop I want to fill up an NSArray with some objects. But I …

iphone objective-c uikit nsmutablearray nsarray