Top "Nsarray" questions

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

Beautify NSLog of NSArray & NSDictionary

I'm dealing with deeply nested NSArray's and NSDictionary's and it's very time consuming to say the least. [data objectatindex:0] valueForKey:@"…

ios nsarray nsdictionary
Using NSPredicate to determine if a string equals another string

I have an NSArray of CalEvents returned with the [CalCalendarStore eventPredicateWithStartDate] method. From the events returned, I am trying to …

objective-c nsstring nsarray nspredicate
Plist Array to NSDictionary

I have a plist: <plist version="1.0"> <array> <dict> <key>name</key&…

objective-c nsarray plist nsdictionary
How to convert NSArray to NSMutableArray

ABAddressBookRef addressBook = ABAddressBookCreate(); CFArrayRef allPeople = ABAddressBookCopyArrayOfAllPeople(addressBook); CFIndex nPeople = ABAddressBookGetPersonCount(addressBook); NSMutableArray *tempPeoples=[[NSMutableArray alloc]init]; for(int i=0;i&…

objective-c nsmutablearray nsarray
iPhone - getting unique values from NSArray object

I have an NSArray formed with objects of a custom class. The class has 3 (city, state, zip) string properties. I …

iphone nsarray nspredicate
Create NSIndexSet from integer array in Swift

I converted an NSIndexSet to an [Int] array using the answer at https://stackoverflow.com/a/28964059/6481734 I need to do …

ios swift2 nsarray nsindexset
Check if NSString instance is contained in an NSArray

I have an array with a bunch of strings and I want to check if a certain string is contained …

cocoa nsstring nsarray
How to separate string by space using Objective-C?

Assume that I have a String like this: hello world this may have lots of sp:ace or little space …

objective-c nsstring nsarray whitespace
How can i convert a NSData to NSArray?

Possible Duplicates: How to convert NSArray to NSData? Need to convert NSData to NSArray HI, I have a NSData object …

iphone objective-c xcode nsarray nsdata
How do I remove leading & trailing whitespace of NSString inside an NSArray?

I have an NSArray declared as such: @property (nonatomic, strong) NSArray *arrayRefineSubjectCode; I have the array elements manually filled out …

iphone objective-c nsstring nsarray