• 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
textDidChange: for several NSTextFields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

textDidChange: for several NSTextFields


  • Subject: textDidChange: for several NSTextFields
  • From: "Alex Blaj" <email@hidden>
  • Date: Mon, 13 Oct 2008 13:12:34 +0300

Hello everyone,

A beginners question: I have a window with several NSTextFields and I would
like to implement textDidChange: for all of them (the behaviour would be
different for each field). What is the "standard" solution for this
situation? I can think about either creating a single delegate class for all
of them, implement the delegate method once and make checks on the sender,
or create a separate delegate class for each of the NSTextFields and
implement each one's behaviour separately. If there's already something one
the web about this that I missed in my googlings, a link would be
appreciated.

Thanks,
Alex
_______________________________________________

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

  • Follow-Ups:
    • Re: textDidChange: for several NSTextFields
      • From: "Robert Černý" <email@hidden>
  • Prev by Date: problems with installing appscript as a substitute for NSAppleScript
  • Next by Date: keystroke logger for Mac OS X
  • Previous by thread: problems with installing appscript as a substitute for NSAppleScript
  • Next by thread: Re: textDidChange: for several NSTextFields
  • Index(es):
    • Date
    • Thread