Hi,

I have Navigation based application. When I switch from one view to the next I 
use the following code. In the below code, is it ok to release 
"browseviewController"?


BrowseViewController *browseviewController = [[BrowseViewController alloc] 
initWithNibName:@"BrowseViewController" bundle:nil];
[browseviewController setTitle:@"Browse By Title"];
[self.navigationController pushViewController:browseviewController 
animated:YES];
// ok to release?
[browseviewController release];


Thanks,

Phil_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to