• 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
override NSTextField paste behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

override NSTextField paste behavior


  • Subject: override NSTextField paste behavior
  • From: "Rick C." <email@hidden>
  • Date: Fri, 25 Mar 2016 10:29:57 +0800

Hi,

I have an NSPanel with 2 NSTextFields and my controller is the delegate of the panel.  I want to override the paste behavior of the 2 text fields so that the user doesn’t paste unnecessary spaces and other characters into these fields.  I thought this should be easy enough but cannot find a way to make it work.  Any ideas?
_______________________________________________

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: override NSTextField paste behavior
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: IKImageBrowserView bug?
  • Next by Date: Re: override NSTextField paste behavior
  • Previous by thread: Re: Seeking image manipulation book/site/course recommendations
  • Next by thread: Re: override NSTextField paste behavior
  • Index(es):
    • Date
    • Thread