• 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: NSWindow reference remains null after window did load
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow reference remains null after window did load


  • Subject: Re: NSWindow reference remains null after window did load
  • From: Dave Carrigan <email@hidden>
  • Date: Tue, 28 Jul 2009 08:39:13 -0700


On Jul 28, 2009, at 8:31 AM, Daniel Child wrote:

Which brings up another question: do I need the "object" (blue cube) at all in the nib if the file's owner is of the same class and presumably represents the same object. Are they redundant?

They are completely different things.

The blue cube object will cause a brand new object to be instantiated when the nib is loaded.

The file's owner is a pseudo-object - it represents an object external to the nib that has already been instantiated before the nib gets loaded.

This almost certainly explains why you seem to have two different objects of the same class.

--
Dave Carrigan
email@hidden
Seattle, WA, USA

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________

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: NSWindow reference remains null after window did load
      • From: Daniel Child <email@hidden>
References: 
 >NSWindow reference remains null after window did load (From: Daniel Child <email@hidden>)
 >Re: NSWindow reference remains null after window did load (From: Graham Cox <email@hidden>)
 >Re: NSWindow reference remains null after window did load (From: Daniel Child <email@hidden>)

  • Prev by Date: Re: NSWindow reference remains null after window did load
  • Next by Date: Re: NSWindow reference remains null after window did load
  • Previous by thread: Re: NSWindow reference remains null after window did load
  • Next by thread: Re: NSWindow reference remains null after window did load
  • Index(es):
    • Date
    • Thread