Contents

resolveClassMethod(_:)

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

Declaration

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

Parameters

  • sel:

    The name of a selector to resolve.

Return Value

YES if the method was found and added to the receiver, otherwise NO.

Discussion

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

See Also

Dynamically Resolving Methods