3
votes
1answer
3k views

iOS: store two NSMutableArray in a .plist file

I want to store two NSMutableArray that I use as global array in AppDelegate. These two array are also store with NSUserDefaults. Now I want to know how I must create this file and how can I store ...
0
votes
1answer
399 views

NSMutableArray Data Attachement With E-mail Body?

My NSMutableArray data are in NSData formate.I am trying to attached NSMutableArray data to E-mail body.Here is my NSMutableArray code: NSUserDefaults *defaults1 = [NSUserDefaults ...
4
votes
2answers
3k views

How to make an CFArrayRef to an NSMutableArray

This is my Code to create the CFArrayRef. I want to know how to make it to an NSMutableArray. I need it for my TableViewController. Or is there another way to use the CFArrayRef in the ...
4
votes
3answers
4k views

how can I Add a ABRecordRef to a NSMutableArray in iPhone?

I want to create an array of ABRecordRef(s) to store contacts which have a valid birthday field. NSMutableArray* bContacts = [[NSMutableArray alloc] init]; ABAddressBookRef addressBook = ...
0
votes
4answers
89 views

Empty NSMutableArray , not sure why

Ok so I populate the array like this: NSMutableArray *participants; for(int i = 0; i < sizeofpm; i++){ NSDictionary *pmpart_dict = [pm_participants objectAtIndex:i]; NSString ...
2
votes
1answer
357 views

Does lastObject in NSMutableArray return a copy of the object?

I have a question related to this piece of code NSNumber *lastObject = [self.myStack lastObject]; if(lastObject){ [self.myStack removeLastObject]; } return [lastObject doubleValue]; I am ...
0
votes
3answers
307 views

Passing NSMutableArray from Modal View Controller to Parent View

I'm struggling to pass a NSMutable array from a Modal View controller back to the view controller I came from. This is my current method: FirstViewController.h #import "SecondViewController.h" ...
0
votes
2answers
119 views

access to array object

i create an array and i initialize it with objects. i tried to get access to the array object but i get a (null). what do i do wrong? photoArray = [[NSMutableArray alloc] init]; PhotoItem ...
0
votes
3answers
1k views

Access NSMutableArray from a different class

I have a class where a NSMutableArray object is formed, as so: navBarColour = [[NSMutableArray alloc] initWithObjects:colourOfNavBar, nil]; I then have another class, which has the first class ...
4
votes
1answer
4k views

NSMutableArray stored with core data = WORKS, but after changing array DOESN'T WORK

I have a NSManagedObject with a NSMutableArray as attribute: @interface MyObject : NSManagedObject { } @property (nonatomic, retain) id a1; In the data model it is declared as Transformable. I ...
3
votes
5answers
730 views

NSMutableArray Difficulty

If you wanna see the code Im having problem with, here is the link: Code My question is connected with my past question. I'm really having problem with my NSMutableArray, I'm currently using ...
1
vote
3answers
6k views

sorting mutable array in alphabatical order

Hi i am having a nsmutable array and in that nearly 50 -60 object having different names ,and can i sort this array in alphabatical order (Is it possible, How?) (is it a duplicate question ?)
0
votes
1answer
1k views

Mulitple Arrays From Plist

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <array> ...
1
vote
2answers
436 views

Why does arrays handle strings containing swedish ÅÄÖ characters by using two or more indexes?

Ok, my problem is that whenever i collect data from the parser into an array where the string contains Swedish ÅÄÖ characters. In my example the [schemaInfoArray objectAtIndex:3] is supposed to be ...
3
votes
3answers
1k views

Searching for a value in an unknown NSMutableArray depth

Ok, i kind of asked the wrong question so I've edited the original question. I'm storing Arrays within Arrays, as well as NSDictionaries. It's a utility kind of application and there is no set ...

1 2
15 30 50 per page