An immutable, integer-indexed array of objects from the Apple Foundation framework.
I've got the following setup: @interface Item : NSObject { NSInteger *item_id; NSString *title; UIImage *item_icon; } @property (nonatomic, copy) NSString *…
objective-c nsarray nspredicate kvcWhen needing to filter an NSArray to get a subset of the items in the array returned, which method is …
ios objective-c nsarray filtering performance-testinglately I work much with arrays and I'm wonder.. what's diffrences between those two lines. NSArray *array = [NSArray arrayWithArray:someArray]; …
objective-c cocoa-touch cocoa nsmutablearray nsarrayi'm getting "use of undeclared identifier" errors in my .m file with the code below and can't seem to work …
objective-c ios nsarray undeclared-identifierI am creating an array of dictionaries in a class. I want to return a copy of that array to …
objective-c cocoa nsmutablearray nsarray copyingI have an array, full of CGRects. That part is fine. The problem is when I go to retrieve the …
iphone nsarray cgrectI have an array of type "Restaurant" which has an NSSet of "Rating." Rating has an ID and a value. …
objective-c nsarray nspredicate nssortdescriptorRan into a interesting little problem. I was writing a method to filter an array to the unique objects: - (…
objective-c cocoa nsarray nssetLets suppose I have an array like this NSArray* arr = @[@"1",@"4",@"2",@"8",@"11",@"10",@"14",@"9"]; //note: strings containing numbers and I want to sort them …
ios objective-c nsarray nssortdescriptor