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
d...@rudedog.org
Seattle, WA, USA

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

_______________________________________________

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