, Nico.
LazyTablesCode, , Apple UITableView. , .
In my code, I had a problem that sometimes the image upload ends when the form that needs to be called through the delegate was issued. I was forced to add this piece of code to the viewController code (dealloc method):
if (self.nsDictionaryWithObjectsDownloading != nil) {
for (id theKey in self.nsDictionaryWithObjectsDownloading) {
Myobj *downloader = [self.nsDictionaryWithObjectsDownloading objectForKey:theKey];
downloader.delegate = nil;
}
}
These lines seem to solve the problem. In any case, it would be very appreciated if this is a good solution or not, or even memory problems when running downloader.delegate = nil;
Thanks and hi
source
share