• 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: Newbie NSToolbar question? [RESOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie NSToolbar question? [RESOLVED]


  • Subject: Re: Newbie NSToolbar question? [RESOLVED]
  • From: Mark Munz <email@hidden>
  • Date: Mon, 20 Oct 2003 08:20:38 -0600

Thanks to all those that responded.

My problem stemmed from the fact that I had implemented what I thought were
the three required methods.

Turns out, I had a typo in one of the named parameters:
ItemForItemIndentifier instead of itemForItemIdentifier

I guess it's one of the pitfalls of named parameters, you have to spell them
correctly. I wish there was a tool the help catch this. At least I know what
to look for first whenever I run across a similar situation.

Mark Munz

> Hi,
> The toolbar's delegate needs to implement 3 *required*
> methods namely
> - toolbarAlloweditemIdentifiers
> - toolbarDefaultItemIdentifiers
> -
> toolbar:itemForItemIdentifier:willBeInsertedintoToolbar.
>
> See NSToolbar for documentation.
>
> Also there is an example @
> /Developer/Examples/AppKit/SimpleToolbar
>
> Hope this helps.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Newbie NSToolbar question? [RESOLVED]
      • From: mmalcolm crawford <email@hidden>
References: 
 >RE:Newbie NSToolbar question? (From: Sindhu Gururaj <email@hidden>)

  • Prev by Date: RE: NSArray/MutableArray subclass/extension
  • Next by Date: Re: UI Controls in menubar
  • Previous by thread: RE:Newbie NSToolbar question?
  • Next by thread: Re: Newbie NSToolbar question? [RESOLVED]
  • Index(es):
    • Date
    • Thread