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) -> UnsafePointer<Int8>

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

func sel_registerName(UnsafePointer<Int8>) -> Selector

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>) -> Selector

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software