O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

NSSecureTextField — Mac OS X 10.0

Synopsis

NSSecureTextField is a subclass of NSTextField that adds the behavior of displaying the contents of the text field as a string of dots so that the value of the string is kept hidden. This is the control a developer would use for password entry fields, or any other text field that displays sensitive values that may need to be hidden.

image with no caption

@interface NSSecureTextField : NSTextField

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required