• 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: toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar: and nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar: and nibs


  • Subject: Re: toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar: and nibs
  • From: David Catmull <email@hidden>
  • Date: Wed, 12 Jun 2013 21:18:45 -0600

On Jun 12, 2013, at 5:14 PM, Keary Suska <email@hidden> wrote:
> Also, I suspect that the docs you cite might be saying that you would subclass NSToolbar and implement that delegate method if you want to intercept it.

If I implement that method in a subclass, then it gets called with toolbar and itemIdentifier set to nil, and the flag is YES even though it's setting up the customize sheet. So it's interesting that it gets called at all, but it's still strangely useless.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

References: 
 >toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar: and nibs (From: David Catmull <email@hidden>)
 >Re: toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar: and nibs (From: Keary Suska <email@hidden>)

  • Prev by Date: assertion failure from NSScrollView
  • Next by Date: Isolated process for each NSDocument of my app
  • Previous by thread: Re: toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar: and nibs
  • Next by thread: assertion failure from NSScrollView
  • Index(es):
    • Date
    • Thread