• 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: determine which NSTextView is sending to delegate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: determine which NSTextView is sending to delegate?


  • Subject: Re: determine which NSTextView is sending to delegate?
  • From: Jonathon Mah <email@hidden>
  • Date: Sat, 6 Nov 2004 00:09:19 +1030

On 5 Nov 2004, at 22:27, John James wrote:

s there a way to use IB to mark a NSTextView in some way so that the info can be retrieved by the delegate to determine which view is sending the message. (in my case "textDidEndEditing"). I could subclass but it seems this should be a common task and settable in IB.

If your object is in IB, make outlets and connect them to the text views. Then when you receive the notification, you can just check if the notification object is any of the text views.



Jonathon Mah email@hidden

_______________________________________________
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


References: 
 >determine which NSTextView is sending to delegate? (From: John James <email@hidden>)

  • Prev by Date: Re: Interface Creation
  • Next by Date: Getting a carbon's info string
  • Previous by thread: Re: determine which NSTextView is sending to delegate?
  • Next by thread: Re: determine which NSTextView is sending to delegate?
  • Index(es):
    • Date
    • Thread