Type Method

resolveClassMethod(_:)

Dynamically provides an implementation for a given selector for a class method.

Declaration

class func resolveClassMethod(_ sel: Selector!) -> Bool

Parameters

name

The name of a selector to resolve.

Return Value

true if the method was found and added to the receiver, otherwise false.

Discussion

This method allows you to dynamically provide an implementation for a given selector. See resolveInstanceMethod(_:) for further discussion.

See Also

Dynamically Resolving Methods

class func resolveInstanceMethod(Selector!)

Dynamically provides an implementation for a given selector for an instance method.