Top "Nsarray" questions

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

How do I iterate over an NSArray?

I'm looking for the standard idiom to iterate over an NSArray. My code needs to be suitable for OS X 10.4+.

objective-c cocoa iteration nsarray enumeration
Convert NSArray to NSString in Objective-C

I am wondering how to convert an NSArray [@"Apple", @"Pear ", 323, @"Orange"] to a string in Objective-C.

objective-c arrays nsstring nsarray
How to convert NSNumber to NSString

So I have an NSArray "myArray" with NSNumbers and NSStrings. I need them in another UIView so i go like …

objective-c nsstring nsarray nsnumber
Initialize Array of Objects using NSArray

I'm pretty new to Objective-C and iOS so I've been playing around with the Picker View. I've defined a Person …

ios objective-c arrays nsarray
How can I reverse a NSArray in Objective-C?

I need to reverse my NSArray. As an example: [1,2,3,4,5] must become: [5,4,3,2,1] What is the best way to achieve this?

objective-c nsarray
filtering NSArray into a new NSArray in Objective-C

I have an NSArray and I'd like to create a new NSArray with objects from the original array that meet …

objective-c cocoa nsarray
NSDictionary to NSArray?

i have a NSDictionary which looks like: { "Item1" = 2.4; "Item2" = 5.5; "Item3" = 15.6; } To use this NSDictionary Items in a Table View i …

objective-c nsarray nsdictionary
NSArray + remove item from array

How to remove an item from NSArray.

iphone nsarray
Using NSPredicate to filter an NSArray based on NSDictionary keys

I have an array of dictionaries. I want to filter the array based on a key. I tried this: NSPredicate *…

objective-c cocoa nsarray nsdictionary nspredicate