NSSecure is a subclass of
NSText 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.
- macOS 10.0+
NSSecure to implement its user interface.