• 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: Help with Notifications (How To)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with Notifications (How To)


  • Subject: Re: Help with Notifications (How To)
  • From: Jonathan Jackel <email@hidden>
  • Date: Sat, 13 Dec 2003 17:22:57 -0500

First, you are confusing two different things. NSTextField and NSTextView are two very different classes.

Second, if you want to transform or validate what the user types in an NSTextField, check out NSFormatter and try subclassing it.

Third, if you give people a better idea of what you are trying to accomplish, you'll get better help.

Jonathan

On Dec 13, 2003, at 2:06 PM, Fernando Santos wrote:

I've read Apple's Documentation on Notifications and I have undertood the theory, but I can't apply it in my code.
I need to change the stringValue on a NSTextField everytime the user start/stops writing on a NSTextView. So I think I should use textViewDidProcessEditing, but I have no idea how to build the code to get it working.
Anyone up for some example please?
Thanx in advance.
Nando



---------------------------------
Yahoo! Mail - 6MB, anti-spam e antivmrus gratuito. Crie sua conta agora!
_______________________________________________
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.
_______________________________________________
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: 
 >Help with Notifications (How To) (From: Fernando Santos <email@hidden>)

  • Prev by Date: Re: NSMenu Trouble
  • Next by Date: textview highlighting
  • Previous by thread: Help with Notifications (How To)
  • Next by thread: What is the equivallent of CFMessagePortRef in Cocoa?
  • Index(es):
    • Date
    • Thread