dealloc
UIViewController class memory issue - presentModalViewController
I have some memory issue with my iPhone application and I have no clue what is happening. So, I observed that the memory usage of the application is rising continuously when going from an UIViewContr[详细]
2023-02-19 21:10 分类:问答Releasing view object
Just wondering why I\'m getting the \'baseView\' undeclared error in dealloc when building this. CGRect baseFrame = CGRectMake(0, 0, 320, 480);[详细]
2023-02-18 11:20 分类:问答NavigationController initWithRootViewController dealloc
I have some pretty simple code where I am using a UINavigationController and adding a rootViewControll开发者_运维问答er.After some processing has occurred I want to pop off the current view controller[详细]
2023-02-18 00:56 分类:问答I wonder about releasing variables
UIView *view; //1 UISegmentedControl *scopeBar; //2 NSMutableArray *array; //3 @property (nonatomic, retain) IBOutlet UIView *view;[详细]
2023-02-17 21:09 分类:问答subview didn't call dealloc when superview(UIViewController) dealloc
I was confuse with memory management of removeFromSuperview. Here is my code: MySubView *tMySubView = [[MySubView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)];[详细]
2023-02-15 19:35 分类:问答Use of [self.labelIBOutlet release] vs [labelIBOutlet release]
I have been playing a bit with the memory in order to be a good memory citizen on the iPhone SDK. However I still struggle to understand the di开发者_StackOverflowfference between \"self.something\"[详细]
2023-02-15 15:29 分类:问答When does (void)dealloc get called in an AppDelegate?
I understand that instance variables are released in dealloc (as shown below), but when exactly is it called? Are all instance variables released upon app close, or is there an accepted way for them t[详细]
2023-02-14 23:25 分类:问答iPhone - UIViewController class dealloc function never called
I have an issue with a project of mine. I have a \"Menu\" UIViewController class and the dealloc function is never called.[详细]
2023-02-14 01:39 分类:问答UITableViewDelegate dealloc method being call while application is still running
I have a class that handle delegate methods for a table. I have used IB and dragged into the NIB a UITableViewDelegate that I changed to my class. I have also included a UITableView object in the NIB[详细]
2023-02-13 21:33 分类:问答Dealloc not being called when changing nibs
I\'ve got quite a large project in which I change nibs frequently using code like this - level3 *screen = [[level3 alloc] initWithNibName:@\"level3\" bundle:nil];[详细]
2023-02-12 21:45 分类:问答