Top "Nsmutablearray" questions

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

How to add numbers in a mutable array in iPhone?

I am new to iPhone development. I want a Nsmutable array to hold numbers from 1 to 100. How can I do …

iphone objective-c cocoa-touch nsmutablearray nsnumber
How can i get Original order of NSDictionary/NSMutableDictionary?

i have created NSMutableDictionary with 10 keys.Now i want to access NSMutableDictionary keys in a same order as it was …

iphone nsmutablearray nsdictionary nsmutabledictionary
Sorting objects in NSMutableArray with sortUsingComparator

I have the following mutable array: NSMutableArray *persons = [[NSMutableArray alloc]initWithObjects:person1, person2, person3, nil]; where every person is an …

objective-c nsmutablearray compare
How to determine an array index in Objective C?

I have two arrays in Objective C and I need to find what index something is so I can insert …

objective-c cocoa search nsmutablearray nsarray
NSKeyedArchiver archivedDataWithRootObject:

Is the parameter for NSKeyedArchiver archivedDataWithRootObject: supposed to be the array I am trying to save, or the array converted …

objective-c cocoa-touch nsmutablearray nsdata nskeyedarchiver
How to remove elements in NSMutableArray or NSMutableDictionary during enumeration?

I am using block based enumeration similar to the following code: [[[rows objectForKey:self.company.coaTypeCode] objectForKey:statementType] enumerateObjectsWithOptions:NSEnumerationConcurrent …

objective-c ios nsmutablearray objective-c-blocks nsmutabledictionary
Filtering array of dictionaries in Swift

I have An Array With Dictionaries example : ( { Email = "[email protected]"; Name = "Kate Bell"; Number = "(555) 564-8583"; }, { Email = "[email protected]"; …

swift2 nsmutablearray uisearchbar nspredicate nsmutabledictionary
insert object in an NSMutableArray saved with NSUserDefaults

I have an NSMutableArray saved with NSUserDefaults. This array is my "favourite" items that the user can saves, so when …

iphone nsmutablearray nsuserdefaults
adding NSInteger object to NSMutableArray

I have an NSMutableArray @interface DetailViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> { NSMutableArray *reponses; } @property (nonatomic, retain) NSMutableArray *reponses; @end and …

iphone objective-c cocoa-touch nsmutablearray nsinteger
How to slice NSMutableArray

I have a NSMutableArray and need objects [0:5] only. Is there a simple way to slice? Can I drop all objects …

objective-c nsmutablearray slice