Top "Nsarray" questions

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

How to split a delimited NSString into NSArray

I have a little problem when I try to split delimited string into an Array. Basically, I want to pass …

ios nsstring nsarray addressbook
Disadvantage of using NSMutableArray vs NSArray?

I'm using an array to store cached objects loaded from a database in my iPhone app, and was wondering: are …

iphone cocoa cocoa-touch nsmutablearray nsarray
Non-retaining array for delegates

In a Cocoa Touch project, I need a specific class to have not only a single delegate object, but many …

iphone cocoa-touch delegates nsarray retain
What is the NSObject isEqual: and hash default function?

I have a database model class that is a NSObject. I have a set of these objects in a NSMutableArray. …

objective-c nsarray nsobject
Get NSIndexSet from NSArray

NSArray has useful methods to find objects for specified indexes // To find objects by indexes - (id)objectAtIndex:(NSUInteger)index …

cocoa arrays nsarray nsindexset
Compiler error "expected method not found" when using subscript on NSArray

I wrote this simple code to try out the new Objective-C literal syntax for NSArrays: NSArray *array = @[@"foo"]; NSLog(@"%@", array[0]); …

objective-c cocoa compiler-errors nsarray objective-c-literals
NSArray out of bounds check

noobie question.. What is the best way to check if the index of an NSArray or NSMutableArray exists. I search …

cocoa nsmutablearray nsarray indexoutofboundsexception
convert std:vector to NSArray

Is there a good way to convert a vector<int32_t> to an NSArray of NSNumber or is …

c++ vector nsarray objective-c++
Getting CGRect from array

For my application I am trying to store CGRect objects into an NSMutableArray. It is loading well and printing in …

objective-c ios nsarray cgrect
NSArray @property backed by a NSMutableArray

I've defined a class where I'd like a public property to appear as though it is backed by an NSArray. …

objective-c ios nsarray mutable