cocoaTouch/SplitViewRootController.m
changeset 3487 b1d00f1950c8
parent 3465 b290993c0810
child 3490 016b3172b645
equal deleted inserted replaced
3486:e1b1a4c18c5b 3487:b1d00f1950c8
    20 
    20 
    21 -(void) didReceiveMemoryWarning {
    21 -(void) didReceiveMemoryWarning {
    22     // Releases the view if it doesn't have a superview.
    22     // Releases the view if it doesn't have a superview.
    23     [super didReceiveMemoryWarning];    
    23     [super didReceiveMemoryWarning];    
    24     // Release any cached data, images, etc that aren't in use.
    24     // Release any cached data, images, etc that aren't in use.
       
    25     detailViewController = nil;
       
    26     MSG_MEMCLEAN();
    25 }
    27 }
    26 
    28 
    27 // load the view programmatically; we need a splitViewController that handles a MasterViewController 
    29 // load the view programmatically; we need a splitViewController that handles a MasterViewController 
    28 // (which is just a UITableViewController) and a DetailViewController where we present options
    30 // (which is just a UITableViewController) and a DetailViewController where we present options
    29 -(void) viewDidLoad {
    31 -(void) viewDidLoad {