Mac OS X Reference Library Apple Developer Connection spyglass button

NSSecureTextFieldCell Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AppKit.framework
Availability
Available in Mac OS X v10.0 and later.
Companion guide
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 Mac OS X v10.0 and later.
See Also
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 Mac OS X v10.0 and later.
See Also
Declared In
NSSecureTextField.h


Last updated: 2007-10-31

Did this document help you? Yes It's good, but... Not helpful...