dealloc
Best practices for releasing retained views?
Is this the correct (best?) way to release views retained in viewDidLoad, in iOS 4.x or lower? Is there anything else to consid开发者_开发百科er?[详细]
2023-03-27 20:33 分类:问答Releasing Unused properties in iOS
I have this property synthesized and declared in my class \'ClassA\' @interface ClassA @property (no开发者_开发知识库natomic, retain) NameFieldCell* nameCell;[详细]
2023-03-23 16:37 分类:问答XCode 4 - @private
I don\'t know if it\'s some setting I accidentally ticked, but tell me how to fix it please: Whenever I create a new Obj-C class, it automatically looks like:[详细]
2023-03-19 12:42 分类:问答Help me understand why I don't have to allocate this NSMutableArray
In firstViewController, SecondViewController *secondViewController = [[[SecondViewController alloc] init] autorelease];[详细]
2023-03-18 19:01 分类:问答Getting EXC_BAD_ACCESS on a method call
This is really weird in my perspective.I\'ve never seen anything like it.I put all my releases in a method called releaseMethod.Then in my dealloc and didReceiveMemoryWarning, I have [self releaseMeth[详细]
2023-03-18 15:55 分类:问答The [super dealloc] in dealloc of UIViewController giving problem in iPad
I am working on an application where i am pushing one view controller on to a UINavigationController and releasing it immediately as the navigation controller retains it.When i am poping the view cont[详细]
2023-03-17 05:01 分类:问答iOS Programming: 'super dealloc' crashes app
This is my first time asking a question in this site. as an amateur developer, I always found answers to my questions in this site, but I could not find one to my current problem.[详细]
2023-03-17 02:41 分类:问答Objects deallocation question
I have a code: @interface PhotoListViewController : UIViewController { IBOutlet UIImageView* firstPicContainer;[详细]
2023-03-16 21:22 分类:问答ASIHTTPRequest popViewControllerAnimated: => delegate EXEC_BAD_ACCESS
I set the view controller to be the delegate of a local variable ASIHTTPFormDataRequest request. But, tapping \"Back\" before the request has finished, pops and deallocates the view co开发者_JAVA技巧[详细]
2023-03-16 05:42 分类:问答How to clean catched data after some days in iPhone using Objective-c?
I am working on a project of iPhone through Objective-c. My project stores some data and files permanently in the iPhone which get useless after some days. For example, I am implementing catching to s[详细]
2023-03-15 17:04 分类:问答