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: Add Toolbar to Document Based Project



On Saturday, Nov 30, 2002, at 18:24 Europe/Stockholm, Uwe Schlosser wrote:

My question is, is this the only way to work around such a problem.

No, of course not! There's never just one way to do something... :)

I would have placed the toolbar delegate in the window controller, if you have such a one - but regardless of the position you shouldn't be limited by where you have access to the instance variable. You should of course use an accessor method! Something like this:

[[myDoc window] setToolbar: toolbar];

j o a r
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Add Toolbar to Document Based Project (From: Uwe Schlosser <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.