PDA

View Full Version : NSMutableArray does not retain values




nehapundlik
Dec 9, 2009, 12:16 AM
Hello all,
My question is that i'm having a method addActor in which i'm adding my xml file contents to coredata at the end of which an NSMutablearray actorsArray is getting created with 6 records all with 9 attribures.
Now when i try to retrieve values from this array in another method in the same file(I have declared the array as property), it shows me only a single record which is 3rd object out of all the 6 objects that get stored in actorsArray.
I'm really not getting what could be the problem. when I tried to retrieve the objects in the same add function, it shows me all the records correctly, but not outside the function.
Can anybody help me with this?
Thanks in advance..



Luke Redpath
Dec 9, 2009, 06:27 AM
Nobody is going to be able to help you without some code...