Top "Nsmutablearray" questions

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

Total Size of NSMutableArray object

I've got an NSMutableArray that holds a bunch of objects, what I'm trying to figure out is how much memory …

ios objective-c cocoa-touch nsmutablearray
How do copy and mutableCopy apply to NSArray and NSMutableArray?

What is the difference between copy and mutableCopy when used on either an NSArray or an NSMutableArray? This is my …

cocoa cocoa-touch nsmutablearray nsarray nscopying
NSMutableArray addObject not working

I have declared an NSMutableArray *categories in my view controller .h file, and declared a property for it. In the …

objective-c nsmutablearray
How to return an NSMutableArray from an NSSet

I'm able to put the contents of an NSSet into an NSMutableArray like this: NSMutableArray *array = [set allObjects]; The compiler …

objective-c cocoa-touch nsmutablearray nsarray nsset
How to sort NSMutableArray using sortedArrayUsingDescriptors?

I have a question about sorting NSMutableArray. I can use sortedArrayUsingDescriptors: method to sort an array with objects. For example …

objective-c cocoa sorting nsmutablearray
How to create an NSMutableArray and assign a specific object to it?

I am just getting into Obj C, and I am looking to create an array of MKAnnotations. I have already …

ios objective-c nsmutablearray mkannotation
How to addObject of NSMutableDictionary to NSMutableArray in a loop

I'm having difficulty to add a data structure to an array to create an array of dictionaries from a loop. …

iphone nsmutablearray nsmutabledictionary
Checking if an array contains a certain object (iOS)

I need to check if a certain array contains a certain object, and if it does, delete that object. If …

ios objective-c arrays nsmutablearray
How to addObject as NSMutableArray in NSMutableArray in swift

I want to addObject of NSMutableArray into NSMutableArray so how can I achieve this in swift. and also retrieve it …

ios swift nsmutablearray
2D arrays using NSMutableArray

I need to create a mutable two-dimensional array in Objective-C. For example I have: NSMutableArray *sections; NSMutableArray *rows; Each item …

objective-c cocoa cocoa-touch multidimensional-array nsmutablearray