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.
Language
- Swift
- Objective-C
SDK
- macOS 10.10+
Overview
NSSecureTextField uses NSSecureTextFieldCell to implement its user interface.