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

learn more… | top users | synonyms

-1
votes
1answer
29 views

Queue a NSMutableArray into a NString as a loop?

If one had a NSString that needed a userid to be used as a URL for a request: NSString *userProfile = [NSString stringWithFormat:@"http://example.com/userid=%@",self.userid]; userIDArray = ...
0
votes
4answers
39 views

Objective-C: Copy Array, Modify Element (Object) in the Copy ONLY

I've read through many SO posts before asking this question and I'm guessing this answer was in there somewhere, but I didn't see it. I'm new to Objective-C and I'm trying to do a (seemingly) simple ...
-1
votes
1answer
20 views

NSArray of NSStrings is returning just one big string in one object, and I need a lot of objects

I have a NSArray that get in WS by JSON some date values. That is what my NSLOG are returning: "2013-05-31T17:00:00Z", "2013-05-31T17:30:00Z", "2013-05-31T18:00:00Z", ...
2
votes
2answers
57 views

NSPredicate nested relationship

I am trying to filter a mutable array of objects using NSPredicate and am having trouble access the level that contains the property I would like to filter on. To give a simplified example consisting ...
-6
votes
6answers
42 views

how to check NSString in NSMutableArray [duplicate]

I want search (to check) one NSString in NSMutableArray. but I dont know about it. NSMutableArray *a = [[NSMutableArray ...
1
vote
1answer
11 views

Adding objects to array NSXMlParser no data

I'm trying to make a XML-parser that saves data from YR.no-API. The parser should add data to these two datastructures. My problem is when i try to add a WeatherTimeData object to my array in ...
0
votes
2answers
47 views

How to remove the nsmutablearray's object from subview?

i have nsmutablearray in which i saved some character means alphabets now what i want is to display these objects as subview on screen. and i did it easily..and em doing this through loop.. i am ...
0
votes
2answers
44 views

how to check status inside NSMutableArray

I have 3 NSMutableArray. I want compare two NSMutableArray of three and find different index and store in anotherNSMutableArray . I want print this sentence when dont save in third NSmutableArray. ...
0
votes
1answer
35 views

NSMutableArray memory allocation

I have an NSMutableArray with 14 indexes acting as a global NSArray, lets call it 'A'. In each of these indexes I have a sub-array (therefore I have 14 sub-arrays within 'A'). These arrays then form ...
0
votes
1answer
57 views

Pushing data from one UIViewController to another [duplicate]

I am pushing a string from one UIViewController to another so far I am doing this successfully however, when I add the pushed string to an NSMutableArray and NSLog the count of the array it always ...
0
votes
2answers
30 views

how to compare 2 NSMutableArray and get different number of value

I want compare 2 NSMutableArray values and check which indexPath is different and store this numbers of index in one array. for example I have these NSMutableArray : NSMutableArray *a = ...
1
vote
5answers
85 views

NSArray removeObject removes all objects in array

My project creates a bomb, an explosion, then checks for collisions in the explosions and finally delete the bombs that didn't get hit in a collision. This is explained in more detail here. The ...
0
votes
1answer
11 views

UItableview crash at cellForRowAtIndexPath bcoz of my NSmutableArray containing special characters

I am fetching data from web service and store on the NSmutableArray app.firstName=[[NSMutableArray alloc]initWithObjects:[[[luckyNumbers ...
-5
votes
4answers
58 views

how select random values for array with some common elements [closed]

hi I want to select random elements in array but it contains another array elements.. for example //its the first Array NSMutableArray *arr = [[ NSMutableArray ...
1
vote
3answers
97 views

Remove objects from array

Trying to remove the objects from NSMutableArray, below is how addition done to array. sectionInfo = [self.collectionView indexPathsForSelectedItems]; How tried to remove [sectionInfo ...

1 2 3 4 5 204
15 30 50 per page