Re: Easier Toolbar Class
Re: Easier Toolbar Class
- Subject: Re: Easier Toolbar Class
- From: Uli Kusterer <email@hidden>
- Date: Sat, 12 May 2007 10:09:53 +0200
On 12.05.2007, at 06:56, Michael Novak wrote:
For new programmers NSToolbar might not be the easiest thing to wrap
their head around, so I offer this class/template to help.
If you want a reusable class instead of template/sample code, I
wrote a UKToolbarFactory class for that purpose. Get it at:
<http://www.zathras.de/angelweb/sourcecode.htm#UKToolbarFactory>
It's a simple object that you instantiate in your NIB and hook up to
a window, and it will then use the window's auto-save name to look up
a plist file containing your toolbar item definitions. In case the
auto-save name isn't appropriate to your case, it's easy to subclass
the factory and use another scheme.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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