• 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: Using NSToolbar itemForItemIdentifier properly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSToolbar itemForItemIdentifier properly?


  • Subject: Re: Using NSToolbar itemForItemIdentifier properly?
  • From: Pierre-Olivier Latour <email@hidden>
  • Date: Sat, 27 Jul 2002 22:09:15 +0200

> Opinion
> I think that the reason for the first requirement is that you cannot
> use the same view object in more than one superview / window at the
> same time (AppKit limitation), and you cannot simply copy a toolbar
> item without possibly breaking it's connection to the controller
> object, thus rendering it useless. I have no idea why they ask you to
> return the same item if asked for again.
>First of all the toolbar does
> not (?) and should not ask the delegate several times for the same
> toolbar item.

Actually, I've noticed that when you display the customization palette, the
toolbar will ask again for each item 1 or 2 times (depending if it is in the
default set or not).


_____________________________________________________________

Pierre-Olivier Latour email@hidden
Lausanne, Switzerland http://www.pol-online.net
_______________________________________________
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.

References: 
 >Re: Using NSToolbar itemForItemIdentifier properly? (From: j o a r <email@hidden>)

  • Prev by Date: Alternate for NSUIElement
  • Next by Date: Re: Alternate for NSUIElement
  • Previous by thread: Re: Using NSToolbar itemForItemIdentifier properly?
  • Next by thread: Global floating windows and app activation
  • Index(es):
    • Date
    • Thread