• 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: Cannot Connect to NSDrawer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot Connect to NSDrawer


  • Subject: Re: Cannot Connect to NSDrawer
  • From: "Jason Barker" <email@hidden>
  • Date: Mon, 22 Oct 2007 21:42:28 -0600

Thanks for your time and your help. That worked!

Jason

On 10/22/07, I. Savant <email@hidden> wrote:
> > You're right about the MyDocument class being able to receive the message
> > from the menu. Apple's documentation shows that the Document is in the
> > responder chain:
>
>   Works for me. I did this:
>
> 1 - Delete the DrawerController class.
> 2 - Removed references to above class from the MyDocument class (.m/.h).
> 3 - Commented out the -makeWindowControllers method.
> 4 - Implemented the -testDrawer: action in MyDocument.
> 5 - Left the nib exactly as it is.
>
>   Works perfectly. You're having trouble with one or the other (doc or
> controller) swallowing the message without working. I'm not *exactly*
> sure why the document is nil (because when you -addWindowController:
> the controller's document is set automatically ... in theory), but the
> entire window controller thing is utterly unnecessary.
>
> --
> I.S.
>
_______________________________________________

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

References: 
 >Cannot Connect to NSDrawer (From: "Jason Barker" <email@hidden>)
 >Re: Cannot Connect to NSDrawer (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: detecting when an app is beach-balling
  • Next by Date: Re: telling when a directory is really a bundle
  • Previous by thread: Re: Cannot Connect to NSDrawer
  • Next by thread: Two Questions on NSStrings <-> bytes
  • Index(es):
    • Date
    • Thread