Function

sel_isEqual

Returns a Boolean value that indicates whether two selectors are equal.

Declaration

BOOL sel_isEqual(SEL lhs, SEL rhs);

Parameters

lhs

The selector to compare with rhs.

rhs

The selector to compare with lhs.

Return Value

YES if rhs and rhs are equal, otherwise NO.

Discussion

sel_isEqual is equivalent to ==.

See Also

Working with Selectors

sel_getName

Returns the name of the method specified by a given selector.

sel_registerName

Registers a method with the Objective-C runtime system, maps the method name to a selector, and returns the selector value.

sel_getUid

Registers a method name with the Objective-C runtime system.