Top "Nsarray" questions

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

Using NSRegularExpression to extract URLs on the iPhone

I'm using the following code on my iPhone app, taken from here to extract all URLs from striped .html code. …

objective-c regex nsstring nsarray nsregularexpression
Using NSPredicate to filter array of arrays

I have the following situation: NSArray( NSArray( string1, string2, string3, string4, string5, ) , NSArray( string6, string7, string8, string9, string10, ) ) Now I …

ios objective-c nsarray nspredicate
transactionReceipt for in-app purchase is deprecated in iOS 7. What can I replace it with?

In iOS 7, on the SKPaymentTransaction class, the property transactionReceipt: // Only valid if state is SKPaymentTransactionStatePurchased. @property(nonatomic, readonly) NSData *transactionReceipt ……

objective-c nsarray in-app-purchase ios7 xcode5
Help sorting an NSArray across two properties (with NSSortDescriptor?)

I'm a bit of a NSSortDescriptor n00b. I think, though, it is the right tool for what I need …

cocoa sorting nsarray nssortdescriptor
Get Integer value from NSNumber in NSArray

I have an NSArray with NSNumber objects that have int values: arrayOfValues = [[[NSArray alloc] initWithObjects: [NSNumber numberWithInt:1], [NSNumber numberWithInt:3], [NSNumber …

objective-c ios iterator nsarray nsnumber
Swift - read plist file to an array?

I have created a mini translation from English words to Spanish words. I would like to use the englishArray.plist …

arrays swift file nsarray nsbundle
NSArray: add multiple objects with same value

How can I add multiple objects to my NSArray? Each object will have the same value. Ex. I want the …

objective-c cocoa nsarray repeat
Searching NSArray of NSDictionary objects

I've contacts array where each contact is a dictionary. Each contact has a key "contact_type" which is an NSNumber. …

ios nsarray nsdictionary nspredicate