• 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: awakeFromNib Called Twice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awakeFromNib Called Twice


  • Subject: Re: awakeFromNib Called Twice
  • From: Bruce Cresanta <email@hidden>
  • Date: Thu, 27 Jan 2011 17:56:04 -0700

Hello,

No, I only have one .xib file called MyDocument.

Bruce


On Jan 27, 2011, at 5:46 PM, Gideon King wrote:

> Does something in your application load another nib file which has your MyDocument as the file's owner?
>
> Gideon
>
> On 28/01/2011, at 10:43 AM, Bruce Cresanta wrote:
>
>> Hello,
>>
>> I have and NSDocument based application with the standard MyDocument document.    I have a view declared as an IBOutlet in the document and use IB to hook up the view variable to the contentView of the window that gets created.    When I put a log message in awakeFromNib, it gets called twice with identical execution traces.    The first time awakeFromNib is called, all the IB connections resolve.    The second time it is called, none of the IB connections resolve and are nil.     Would you please help me think through what's going on?
>>
>> Thanks
>> Bruce
>

_______________________________________________

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: awakeFromNib Called Twice
      • From: Bruce Cresanta <email@hidden>
References: 
 >awakeFromNib Called Twice (From: Bruce Cresanta <email@hidden>)
 >Re: awakeFromNib Called Twice (From: Gideon King <email@hidden>)

  • Prev by Date: Re: awakeFromNib Called Twice
  • Next by Date: Re: awakeFromNib Called Twice
  • Previous by thread: Re: awakeFromNib Called Twice
  • Next by thread: Re: awakeFromNib Called Twice
  • Index(es):
    • Date
    • Thread