Re: Can I Hide / Show an NSTextField / NSSecureTextField in Cocoa?
Re: Can I Hide / Show an NSTextField / NSSecureTextField in Cocoa?
- Subject: Re: Can I Hide / Show an NSTextField / NSSecureTextField in Cocoa?
- From: Kyle Sluder <email@hidden>
- Date: Fri, 07 Feb 2014 16:44:02 -0800
On Fri, Feb 7, 2014, at 04:27 PM, David Delmonte wrote:
> Hi, Is there a way to turn secureTextField on and off in Cocoa? I'd like
> users to have the option to see their passwords.
> In iOS, I can do something like [textField setSecureTextEntry:YES];
>
> I found [secureTextField setEchoBullets] but that's not what I want.
No. You'll have to swap between instances of NSTextField and
NSSecureTextField, keeping the two controls' stringValues in sync.
--Kyle Sluder
_______________________________________________
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