I have a class that basically manages core data, and deletes the data and updates the data I like to initialize the class
- (id) init {self = [super init]; If (self) {self.itemList = [Object and Keys with NSDictionary Dictionary: // < == Leak ITEMURL1, KEY1, ITEMURL2, KEY2, ITEMURL3, key3, ITEMURL4, KEY4, ITEMURL5, KEY5, zero]; Self.storedItems = [[NSMutableArray alloc] init]; // & lt; == LEAKS} self-back; } - (zero) Delok {[archived items release]; [Super DeLoc]; }
I have taken care that I leave all things carefully whenever it is allocated, but I still feel leaked on init when I run the app in the device .
What's going on? Am I doing something wrong?
You have to add your list (item list release) to your Delco method, in "Property Announcement" is kept.
To store, if you want to stay in the property announcement, you should try it when you specify it:
self.Start items = [ [[NSMUTBARRAL] IIT] AutoWrecks
Or more precisely, but equal:
self.storedItems = [NSMutableArray array];
Comments
Post a Comment