Top "Nsmutablearray" questions

NSMutableArray represents a modifiable (mutable) array object for Cocoa and Cocoa Touch.

NSMutableArray addObject: -[__NSArrayI addObject:]: unrecognized selector sent to instance

I have tried to initialize my NSMutableArray 100 ways from Sunday, and NOTHING is working for me. I tried setting it …

iphone nsmutablearray
Join an Array in Objective-C

I'm looking for a method of turning a NSMutableArray into a string. Is there anything on a par with this …

objective-c nsmutablearray nsarray
NSMutableArray - force the array to hold specific object type only

Is there a way to force NSMutableArray to hold one specific object type only? I have classes definitions as follow: @…

objective-c cocoa nsmutablearray
Removing item from array by property value

I'm looking for the most efficient and memory friendly way. Let's say I have an array of Person objects. Each …

ios objective-c nsarray nsmutablearray
Avoiding "NSArray was mutated while being enumerated"

I have an NSMutableArray that stores mousejoints for a Box2d physics simulation. When using more than one finger to …

objective-c cocoa cocoa-touch collections nsmutablearray
[__NSCFNumber length]: unrecognized selector sent to instance UITableView

i'm experiencing an error [__NSCFNumber length]: unrecognized selector sent to instance 0x15580c90 2014-02-18 15:10:49.490 CIB[1706:60b] * Terminating app due …

ios objective-c json uitableview nsmutablearray
how to add nil to nsmutablearray?

NSArray *array = [[NSArray alloc] initWithObjects:@"ΕΛΤΑ", @"ΕΛΤΑ COURIER", @"ACS", @"ACS ΕΞΩΤΕΡΙΚΟ", @"DHL", @"INTERATTICA", @"SPEEDEX", @"UPS", @"ΓΕΝΙΚΗ ΤΑΧΥΔΡΟΜΙΚΗ", @"ΜΕΤΑΦΟΡΙΚΕΣ ΕΞΩΤΕΡΙΚΟΥ", nil]; This is working because it has nil …

iphone objective-c nsmutablearray null
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
Removing object from NSMutableArray

I stumbled across the following shortcut in setting up a for loop (shortcut compared to the textbook examples I have …

objective-c cocoa nsmutablearray