Function

sel_isEqual(_:_:)

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

Declaration

func sel_isEqual(_ lhs: Selector, _ rhs: Selector) -> Bool

Parameters

lhs

The selector to compare with rhs.

rhs

The selector to compare with lhs.

Return Value

true if rhs and rhs are equal, otherwise false.

Discussion

sel_isEqual is equivalent to ==.

See Also

Working with Selectors

func sel_getName(Selector)

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

func sel_registerName(UnsafePointer<Int8>)

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

func sel_getUid(UnsafePointer<Int8>)

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