NSSecureTextField Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AppKit.framework
Availability
Available in OS X v10.0 and later.
Declared in
AppKit/NSSecureTextField.h
Companion guide
Text Fields
Related sample code

Overview

NSSecureTextField is a subclass of NSTextField that hides its text from display or other access via the user interface. It’s suitable for use as a password-entry object or for any item in which a secure value must be kept.

NSSecureTextField uses NSSecureTextFieldCell to implement its user interface.