• 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: Hide / show password in NSTextField / NSSecureTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hide / show password in NSTextField / NSSecureTextField


  • Subject: Re: Hide / show password in NSTextField / NSSecureTextField
  • From: Helder da Rocha <email@hidden>
  • Date: Tue, 2 Dec 2008 19:10:23 -0200

Hi Andre,

That's what I ended up doing, but I thought it was a clumsy solution. It seems to me that to create two visual input objects with the same dimensions in the same position to handle the same information is at least unnecessary duplication. I was hoping there would be some simpler solution.

Helder.

On Dec 2, 2008, at 18:36 , Andre Masse wrote:

You could use a secure and plain text field bound to the same value and hide/show one as needed.

Andre Masse


On Dec 2, 2008, at 11:26, Helder da Rocha wrote:

Yes. I tried that. But it doens't show the characters. It simply toggles from showing nothing to showing bullets. I want to toggle from showing characters to showing bullets (I want to reveal what's under the bullets - it's a long passphrase and easy to mispell)

Helder.


On Dec 2, 2008, at 13:10 , Benjamin Stiglitz wrote:

Does anybody know if there is a simple way to turn on/off the characters displayed in a Secure text Field? I didn't find any melhod in NSTextField or NSSecureTextField that does that.

Look at the secure text field cell:

<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSSecureTextFieldCell_Class/Reference/Reference.html#//apple_ref/occ/instm/NSSecureTextFieldCell/setEchosBullets: >

-Ben

_______________________________________________

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

_______________________________________________

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

_______________________________________________

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: Hide / show password in NSTextField / NSSecureTextField
      • From: "Michael Ash" <email@hidden>
References: 
 >Hide / show password in NSTextField / NSSecureTextField (From: Helder da Rocha <email@hidden>)
 >Re: Hide / show password in NSTextField / NSSecureTextField (From: Helder da Rocha <email@hidden>)
 >Re: Hide / show password in NSTextField / NSSecureTextField (From: Andre Masse <email@hidden>)

  • Prev by Date: Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.
  • Next by Date: Button title irregularities
  • Previous by thread: Re: Hide / show password in NSTextField / NSSecureTextField
  • Next by thread: Re: Hide / show password in NSTextField / NSSecureTextField
  • Index(es):
    • Date
    • Thread