• 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: Scott Anguish <email@hidden>
  • Date: Sat, 5 Feb 2005 03:35:54 -0500


On Feb 4, 2005, at 9:43 AM, Ed wrote:

Thanks for the replies.
Scott : Yup, I have myDocument class set as delegate… bad idea?


no. it sounded like something higher up teh chain was getting the validate message...


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?

they are being updated based on some local value to the current document, rignt? not by a global by accident?


_______________________________________________
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: Ed <email@hidden>
References: 
 >Re: NSToolbar(item) quirk (From: Ed <email@hidden>)

  • Prev by Date: Re: checking if an object's instance exists.
  • Next by Date: Re: Newbie wallowing in documentation
  • Previous by thread: Re: NSToolbar(item) quirk
  • Next by thread: Re: NSToolbar(item) quirk
  • Index(es):
    • Date
    • Thread