• 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: NSToolbar(item) quirk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbar(item) quirk


  • Subject: Re: NSToolbar(item) quirk
  • From: Ed <email@hidden>
  • Date: Fri, 4 Feb 2005 14:43:16 +0000

Thanks for the replies.

Scott : Yup, I have myDocument class set as delegate… bad idea?

Heinrich : That is how I do it, I believe (on a school computer, don't
have my code).

My validation function is :
- (BOOL)validateToolbarItem:(NSToolbarItem*)toolbarItem


Would making my ToolbarItem (let's say quoteItem) a global variable,
and then when returning the toolbarItem in ...itemForIdentifier:..
supply the global variable instead of a dynamically created item each
time allow me to get around this problem, or would all of the items
STILL be updated at the same time?

ed
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSToolbar(item) quirk
      • From: Scott Anguish <email@hidden>
  • Prev by Date: double drag attempt
  • Next by Date: Document Based App - open
  • Previous by thread: Re: NSToolbar(item) quirk
  • Next by thread: Re: NSToolbar(item) quirk
  • Index(es):
    • Date
    • Thread