NSSecureTextFieldCell Class Reference

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

Overview

NSSecureTextFieldCell works with NSSecureTextField to provide a text field whose value is guarded from user examination. It overrides the general cell use of the field editor to provide its own field editor, which doesn’t display text or allow the user to cut or copy its value.

Tasks

Working with Character Echo

Instance Methods

echosBullets

Returns whether the receiver echoes a bullet character rather than each character typed.

- (BOOL)echosBullets
Discussion

Default is YES.

Availability
  • Available in OS X v10.0 and later.
Declared In
NSSecureTextField.h

setEchosBullets:

Sets whether the receiver echoes bullets for each character typed.

- (void)setEchosBullets:(BOOL)flag
Discussion

If YES, bullets are echoed. If NO, the cursor is moved for each character typed, but nothing is displayed.

Availability
  • Available in OS X v10.0 and later.
Declared In
NSSecureTextField.h