Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot Connect to NSDrawer



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.