Return to Snippet

Revision: 26161
at April 19, 2010 12:00 by espinallab


Initial Code
Event * anEvent = self.event;

ClubPlanetControllerAppDelegate * appDelegate = (ClubPlanetControllerAppDelegate *)[UIApplication sharedApplication].delegate;
			
	[appDelegate.allEvents replaceObjectAtIndex:[appDelegate.allEvents indexOfObject:event] withObject:anEvent];

Initial URL
http://stackoverflow.com/questions/2114806/object-life-after-death-retain-count-0

Initial Description

                                

Initial Title
Replacing object in an NSMutableArray

Initial Tags

                                

Initial Language
Objective C