How come this object is released right after it's instantiated? From a book example I'm learning fro

Posted by HD-VRSCA on Stack Overflow See other posts from Stack Overflow or by HD-VRSCA
Published on 2010-06-02T21:17:19Z Indexed on 2010/06/02 21:24 UTC
Read the original article Hit count: 187

Filed under:
|
BlueViewController *blueController = [[ BlueViewController alloc] initWithNibName:@"BlueView" bundle:nil];
self.blueViewController = blueController;
[self.view insertSubview:blueController.view atIndex:0];
[blueController release];

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c