Best way of doing a toolbar
Best way of doing a toolbar
- Subject: Best way of doing a toolbar
- From: Andrew Merenbach <email@hidden>
- Date: Fri, 7 Oct 2005 19:03:12 -0700
Hi, all. This may have come up before, but perhaps not with these
specific questions. I'm looking for the best way to implement a
generic toolbar in my application. I've stumbled upon a few already,
but am not sure as to the better ones.
Is it best to create a delegate category of my controller or document
subclass, then do my configuration there?
M. Uli Kusterer created a 'UKToolbarFactory' class that employs a
property list for the attributes of the toolbar--and although it
doesn't appear to support, offhand, view items (as opposed to image
ones--and correct me if you're reading this, Uli!) it does appear
highly versatile, to my untrained eyes, for general use.
Then there's this odd, annoying (since it's so curious) 'toolbar'
outlet that NSWindow seems to have. Why does it show up in Interface
Builder? I take it that the old-timers here might be able to tell me
that the old version of IB had some ability to generate these?
Searching the internet, too, I find mention, from before Tiger's
release, of an IB in 10.4 that was to support GUI construction of
toolbars.
Regardless of whether that came about, would I be wise in my quest
for efficiency to try to create my own NSToolbar subclass, and even
get it instantiated in IB, connect it up, and then use some
combination of the above methods to populate it?
Many thanks,
Andrew
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden