Mac Developer Library

Developer

AppKit Framework Reference NSSecureTextField Class Reference

Options
Deployment Target:

On This Page
Language:

NSSecureTextField

Inheritance


Import Statement


Swift

import AppKit

Objective-C

@import AppKit;

Availability


Available in OS X v10.0 and later.

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.