Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

srikanthrongali

macrumors newbie
Original poster
Apr 30, 2010
21
0
I have an array cells. Each entry of array is dictionary. I need to delete the dictionary by using objectAtIndex for cell ? How can I do it programmatically ?
Thank you.
 
If you have loaded the data into an NSArray you can't change it: NSArrays are immutable. If you have loaded it to a NSMutableArray you can use the well documented removeObjectAtIndex:. Obviously this will only alter your in-memory copy of the data: it will have no effect on the plist file. If the file is within your application bundle you can't save to that.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.