becomeFirstResponder

Informs the receiver that it’s becoming the first responder.

Declaration

- (BOOL)becomeFirstResponder

Return Value

Returns YES.

Overview

If the previous first responder was not a text view on the same layout manager as the receiving text view, this method draws the selection and updates the insertion point if necessary.

Use the NSWindow method makeFirstResponder:, not this method, to make a text view the first responder. Never invoke this method directly.

See Also

Changing First Responder Status

- resignFirstResponder

Notifies the receiver that it’s been asked to relinquish its status as first responder.