NSMutableArray does not retain values

Discussion in 'iOS Programming' started by nehapundlik, Dec 8, 2009.

  1. macrumors newbie

    Dec 8, 2009
    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..
  2. macrumors 6502a

    Nov 9, 2007
    Colchester, UK
    Nobody is going to be able to help you without some code...

Share This Page