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

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.