Instance Property

isFirstResponder

Returns a Boolean value indicating whether this object is the first responder.

Declaration

@property(nonatomic, readonly) BOOL isFirstResponder;

Return Value

YES if the receiver is the first responder or NO if it is not.

Discussion

UIKit dispatches some types of events, such as motion events, to the first responder initially.

See Also

Managing the Responder Chain

nextResponder

Returns the next responder in the responder chain, or nil if there is no next responder.

canBecomeFirstResponder

Returns a Boolean value indicating whether this object can become the first responder.

- becomeFirstResponder

Asks UIKit to make this object the first responder in its window.

canResignFirstResponder

Returns a Boolean value indicating whether the receiver is willing to relinquish first-responder status.

- resignFirstResponder

Notifies this object that it has been asked to relinquish its status as first responder in its window.