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

learn more… | top users | synonyms

0
votes
0answers
35 views

Issue with Sorting NSMutableArray

I have an NSMutableArray which contains an NSDictionary, I need to sort the array based on certain criteria. Sorting criteria is sort based on properties.property.value, suppose if I want to sort ...
0
votes
1answer
12 views

error passing array of object between view and tableview

I'm struggling on this problem where I try to pass a NSMutableArray of objects from a view controller to UITableController but I Always get an error like this: 2013-06-08 00:08:42.098 ...
0
votes
2answers
27 views

About modifying contents of NSMutableArray

I have a NSMutableArray, called buttonContainer that contains UIButtons. The thing is I want to change the CGRectmake() of every button with a new value, is there an easy way to do this? I'm trying ...
1
vote
1answer
73 views

Remove duplicates from NSArray of Custom Objects also compare and edit same

I have two NSMutableArrays. Each contains a custom word object in it. Custom word has 2 properties text and frequency. Now I want to combine these two arrays in such a way that, if these two arrays ...
1
vote
5answers
52 views

Optimised array shift method

I have an NSMutableArray holding NSStrings e.g. {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} I would like to be able to shift elements with wrapping. So e.g. move 1 to the centre, shifting all elements, wrapping ...
0
votes
1answer
39 views

Why am I getting a NSFastEnumerationMutationHandler with this NSMutableArray code?

Can someone help me understand what I am doing wrong here that would caused this stack trace: 1 libobjc.A.dylib 0x3a8a897a objc_exception_throw + 26 2 CoreFoundation ...
1
vote
2answers
34 views

AFNetworking JSON to UITableView - Objective - C

So I'm working on my first app and starting to bang my head against the wall. I created a C# web API that spits out simple JSON. I'm using AFNetworking and getting a valid response (I believe) and now ...
0
votes
1answer
41 views

How do would you split this given NSString into a NSDictionary?

I have some data i aquire from some linux box and want to put it into a NSDictionary for later processing. How wold you get this NSString into a NSDictionary like the following? data ( bytes ( ...
1
vote
1answer
15 views

How to group an NSMutableArray and show in UITableView?

I get json from server and add them in NSMutableArray like this: { "title": "title60", "summary": "summary60", "datetime": "2013.02.03", } { "id": 58, "title": "title59", "summary": ...
0
votes
1answer
35 views

Objective-C: Recursive method that changes property of self

I have a recursive method that changes a property of self (the object on which the method is defined). I get the error: ...uncaught exception 'NSGenericException', reason: '*** Collection ...
0
votes
1answer
18 views

How do you reload a tableView in ios6 with a mutable array?

I have a tableview set up with data from a mutable array but I cannot figure out how to reload it, or even if it's being loaded in the first place. The mutable array is changed when a user presses a ...
0
votes
3answers
53 views

How to load an array from soap and display on table view?

I tried load array from soap and display member of array on tableview. When run I get this error: App[711:c07] Log Output:(null) 2013-06-05 13:18:58.198 App[711:c07] *** Terminating app due to ...
0
votes
4answers
69 views

modify an nsmutablearray in another class

I have a NSMutableArray of seven bools in managerViewController, these represent days of the week when a shop is open. I am running out of space in this view and most of the time the user will be ...
1
vote
2answers
23 views

NSTableColumn sorts numbers wrongly

This is a NSTableView with IB bindings to a NSArrayController, it displays all values correctly. However it sorts the numbers only by their first char value e.g. it will put 115.31 below 2.5, and ...
0
votes
1answer
34 views

KVO on a collection

I added a observer to my collection, and observe the count on it [[[JHTaskSave defaults] tasks] addObserver:self forKeyPath:@"count" options:NSKeyValueObservingOptionNew | ...

1 2 3 4 5 205
15 30 50 per page