• 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: NSDrawer not always sending -drawerDidOpen: to delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDrawer not always sending -drawerDidOpen: to delegate


  • Subject: Re: NSDrawer not always sending -drawerDidOpen: to delegate
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 16 Feb 2013 18:24:50 -0800

On Feb 16, 2013, at 5:31 PM, Jerry Krinock <email@hidden> 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 (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: NSDrawer not always sending -drawerDidOpen: to delegate
      • From: Jerry Krinock <email@hidden>
References: 
 >NSDrawer not always sending -drawerDidOpen: to delegate (From: Jerry Krinock <email@hidden>)

  • Prev by Date: NSDrawer not always sending -drawerDidOpen: to delegate
  • Next by Date: Re: NSDrawer not always sending -drawerDidOpen: to delegate
  • Previous by thread: NSDrawer not always sending -drawerDidOpen: to delegate
  • Next by thread: Re: NSDrawer not always sending -drawerDidOpen: to delegate
  • Index(es):
    • Date
    • Thread