Re: Multiple Observations
Re: Multiple Observations
- Subject: Re: Multiple Observations
- From: Gordon Apple <email@hidden>
- Date: Sat, 15 Jun 2013 13:20:05 -0500
- Thread-topic: Multiple Observations
Well, I have to say that this statement is highly ambiguous. It does not
explicitly say that awakeFromNib is sent to the file’s owner separately for
every interface object. My reading of this would interpret it to say it is
sent once to the file’s owner, in addition to being sent to to each
interface object. Doing otherwise would not make any sense. I guess you are
saying that this statement applies for each mini-nib defining the cell view.
I still consider this to be a bug.
On 6/15/13 12:52 PM, "Kyle Sluder" <email@hidden> wrote:
> On Sat, Jun 15, 2013, at 09:51 AM, Gordon Apple wrote:
>> > I don¹t seen anything about this in the referenced docs.
>
> From "The Object Loading Process", from the Nib Files chapter of the
> Resource Programming Guide
> <http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/Loadin
> gResources/CocoaNibs/CocoaNibs.html#//apple_ref/doc/uid/10000051i-CH4-SW8>:
>
> """
> 4. It sends an awakeFromNib message to the appropriate objects in the
> nib file that define the matching selector:
>
> ? In OS X, this message is sent to any interface objects that define the
> method. It is also sent to the File’s Owner and any placeholder objects
> that define it as well.
> """
>
> --Kyle Sluder
_______________________________________________
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