• 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: NEED ADVICE : How to implement "Show Password" functionality
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NEED ADVICE : How to implement "Show Password" functionality


  • Subject: Re: NEED ADVICE : How to implement "Show Password" functionality
  • From: Andy Matuschak <email@hidden>
  • Date: Sat, 27 Aug 2005 14:54:22 -0500

That's a pretty ugly way of doing it. =/ I'd probably just set up and add to the window's content view a new text field / secure text field in my code with the same frame as the old text field when the box is checked.

- Andy Matuschak


On Aug 27, 2005, at 1:55 PM, Andrei Tchijov wrote:

I want to implement something similar to "Show Password" checkbox from Wireless Network login dialog. So far I came up with this approach.
To have 2 text field stacked one on top of another. One of NSSecureTextField class and another just NSTextField. Have one of them hidden (Secure when "show password" is checked and "normal" when it is not).


Is it good/bad/ugly way of doing it?  How Apple doing it?

You comments will be highly appreciated.

Andrei Tchijov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40andymatuschak.org


This email sent to 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: 
 >NEED ADVICE : How to implement "Show Password" functionality (From: Andrei Tchijov <email@hidden>)

  • Prev by Date: NEED ADVICE : How to implement "Show Password" functionality
  • Next by Date: Core Data Smart groups and manual groups
  • Previous by thread: NEED ADVICE : How to implement "Show Password" functionality
  • Next by thread: Core Data Smart groups and manual groups
  • Index(es):
    • Date
    • Thread