• 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: Multiple Observations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Multiple Observations
      • From: Gordon Apple <email@hidden>
References: 
 >Re: Multiple Observations (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Multiple Observations
  • Next by Date: popup menus and toolbar buttons
  • Previous by thread: Re: Multiple Observations
  • Next by thread: Re: Multiple Observations
  • Index(es):
    • Date
    • Thread