Skip navigation.
 
mlInterface Builder (almost) supports NSToolbar
FROM : Brian Krisler
DATE : Mon Mar 03 19:53:07 2008

I have discovered that it is now "almost" possible to create toolbars 
from within
Interface builder, with one big exception.  There appears to be no 
way to
define identifiers for the toolbar items.

Is this a sign of future functionality?  I can not find any 
documentation
on NSToolbar within IB, every document I can find explains how to 
implement
  toolbars from code, using delegates.

After more exploring, I discovered that I could open the XIB file in 
an XML editor,
and define the identifiers for my items (they were set to GUID's). 
After renaming
them to understandable values, I was then able to specify their 
selected state
from within the code, using my identifiers.

There are a few inspector values that I am not sure exactly what they 
do yet, they
appear to have no direct function.

Has anyone had experience, good or bad, with creating toolbars from IB?

Thanks

Brian

Related mailsAuthorDate
mlInterface Builder (almost) supports NSToolbar Brian Krisler Mar 3, 19:53
mlRe: Interface Builder (almost) supports NSToolbar Quincey Morris Mar 3, 20:12
mlRe: Interface Builder (almost) supports NSToolbar I. Savant Mar 3, 20:26
mlRe: Interface Builder (almost) supports NSToolbar Quincey Morris Mar 3, 20:53
mlRe: Interface Builder (almost) supports NSToolbar Brian Krisler Mar 5, 03:04
mlRe: Interface Builder (almost) supports NSToolbar Quincey Morris Mar 5, 03:23
mlRe: Interface Builder (almost) supports NSToolbar Jonathan Hess Mar 5, 03:27