• 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
Re: How are views supposed to reload after being nillified by memory warnings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How are views supposed to reload after being nillified by memory warnings?


  • Subject: Re: How are views supposed to reload after being nillified by memory warnings?
  • From: David Duncan <email@hidden>
  • Date: Wed, 29 Feb 2012 10:53:55 -0800

On Feb 28, 2012, at 10:36 PM, G S wrote:

> So I did override loadView, simply to write to a log and then call [super
> loadView].  In the log, I verified that the controller's loadView method IS
> being called after the overlapping view is dismissed.  I also verified that
> the object's nibName property contains the name of the XIB it's initialized
> with.  So it should be reloading from this XIB.  Instead, however, I'm
> getting the "plain" (blank) view.

If your view controller is backed by a XIB, then yes you should just get that XIB reloaded and displayed.

Do you do anything special inside of -viewDidLoad?
--
David Duncan


_______________________________________________

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: How are views supposed to reload after being nillified by memory warnings?
      • From: G S <email@hidden>
References: 
 >How are views supposed to reload after being nillified by memory warnings? (From: G S <email@hidden>)
 >Re: How are views supposed to reload after being nillified by memory warnings? (From: G S <email@hidden>)

  • Prev by Date: Placeholder text on a multi-line NSTextField
  • Next by Date: How do IB inspector fields relate to the actual objects?
  • Previous by thread: Re: How are views supposed to reload after being nillified by memory warnings?
  • Next by thread: Re: How are views supposed to reload after being nillified by memory warnings?
  • Index(es):
    • Date
    • Thread