• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Standard NSToolbarItems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Standard NSToolbarItems


  • Subject: Re: Standard NSToolbarItems
  • From: Andre Lipinski <email@hidden>
  • Date: Fri, 30 Nov 2001 01:38:47 -0500

On Thursday, November 29, 2001, at 10:50 AM, Mark T wrote:

I'm having a small problem constructing a toolbar for an application I'm working on. The toolbar items that I create work perfectly, but I'd also like to use a couple of Apple's predefined standard toolbar items. If I just do something like the following, the item itself works and displays correctly in the toolbar, but it shows up as a completely blank object in the customization sheet(no name, no image, but can still be dragged to the toolbar):

[tDict setObject:[[NSToolbarItem alloc] initWithItemIdentifier:NSToolbarFlexibleSpaceItemIdentifier] forKey:@"Flexible Space Item"];

where the delegate methods allow the toolbar to get items from tDict. Any ideas?

Have you studied the Toolbar example code? It'll set you up just fine.

Andre.


  • Follow-Ups:
    • Re: Standard NSToolbarItems
      • From: Chuck Pisula <email@hidden>
References: 
 >Standard NSToolbarItems (From: Mark T <email@hidden>)

  • Prev by Date: Re: NSActionCell and NSTextFieldCell
  • Next by Date: Re: Cocoa beginner question
  • Previous by thread: Standard NSToolbarItems
  • Next by thread: Re: Standard NSToolbarItems
  • Index(es):
    • Date
    • Thread