• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[iphone] Release Navigation View Controller Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iphone] Release Navigation View Controller Question


  • Subject: [iphone] Release Navigation View Controller Question
  • From: Philip Vallone <email@hidden>
  • Date: Sun, 17 Jan 2010 05:30:23 -0500

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [iphone] Release Navigation View Controller Question
      • From: Tom Davie <email@hidden>
  • Prev by Date: Re: How to show progress indicator for background job
  • Next by Date: Re: [iphone] Release Navigation View Controller Question
  • Previous by thread: Re: Accessing Variables from Multiple NIBs
  • Next by thread: Re: [iphone] Release Navigation View Controller Question
  • Index(es):
    • Date
    • Thread