Re: Add Toolbar to Document Based Project
Re: Add Toolbar to Document Based Project
- Subject: Re: Add Toolbar to Document Based Project
- From: j o a r <email@hidden>
- Date: Sat, 30 Nov 2002 19:11:47 +0100
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.