On Feb 16, 2013, at 5:31 PM, Jerry Krinock <je...@ieee.org> wrote:

> In an app running in Mac OS X 10.8, I have set a drawer's delegate to be its 
> window controller, in the window controller's -awakeFromNib…
> 
> - (void)awakeFromNib {
>    …
>    [drawer setDelegate:self] ;
>    …
> }

Any reason you didn't do this in the nib itself? I'm wondering if you're 
hitting that caveat from the resource Programming Guide where AppKit cannot 
guarantee that -awakeFromNib is sent to File's Owner last, and there's some 
ordering issue with respect to -setDelegate: and the drawer receiving 
-awakeFromNib for which IB has a hack to work around.

--Kyle Sluder
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to