Re: File's Owner
Re: File's Owner
- Subject: Re: File's Owner
- From: Andreas Mayer <email@hidden>
- Date: Tue, 27 May 2008 05:34:12 +0200
Am 26.05.2008 um 19:49 Uhr schrieb Quincey Morris:
-- First, although it's *called* "File's Owner", the concept isn't
essentially about files or ownership.
I guess that depends on your definition of "ownership". And we could
argue wether an object graph loaded from a nib is still somehow
attached to the original file. But I don't think that would be of any
help in understanding the concept.
-- Second, saying that "File's Owner is the object specified as the
owner when the nib is loaded" (as the documentation does) isn't very
helpful to someone trying to come to grips with the concept,
Maybe. But it's simply the definition of the term, so it *has* to be
written like this.
Really, that's all the File's Owner *is*: The object that was passed
in as such when the nib was loaded.
Everything else is interpretation, best practice, conventions etc.
So, a newbie's first exposure to File's Owner suggests that there's
a right answer to what File's Owner needs to be,
Is that so? Well, that's a misconception. There's only examples of
what *usually* is used as a File's Owner.
but the documentation (along with quite a number of the explanations
in this thread) insists that File's Owner can be whatever you want
it to be.
Which is true.
Andreas
_______________________________________________
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