Re: Multiple Observations
Re: Multiple Observations
- Subject: Re: Multiple Observations
- From: Kyle Sluder <email@hidden>
- Date: Sat, 15 Jun 2013 11:27:17 -0700
On Jun 15, 2013, at 11:20 AM, Gordon Apple <email@hidden> wrote:
> Well, I have to say that this statement is highly ambiguous.
It is not ambiguous. It is clear as night and day. -awakeFromNib is sent to File's Owner during nib loading. End of story.
> It does not explicitly say that awakeFromNib is sent to the file’s owner separately for every interface object.
This sentence doesn't make sense. There is only one File's Owner per nib.
> 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.
This is correct.
> Doing otherwise would not make any sense. I guess you are saying that this statement applies for each mini-nib defining the cell view.
This is also correct. The NSTableView docs are very explicit that each cell view is its own mini-nib that is unarchived anew each time a new instance is needed. As of 10.8, you can also manually register a nib.
> I still consider this to be a bug.
It is not a bug. You just need to learn the framework.
--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