Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 783 Bytes

File metadata and controls

43 lines (30 loc) · 783 Bytes

EXTENSION

NSObject

public extension NSObject

Properties

className

var className: String

Return class name.

Methods

exchangeImplementations(originalSelector:swizzledSelector:)

class func exchangeImplementations(originalSelector: Selector, swizzledSelector: Selector)

Exchange two implementations of the given selectors, aka method swizzling.

  • Parameters:
    • originalSelector: The original selector.
    • swizzledSelector: Another selector.

Parameters

Name Description
originalSelector The original selector.
swizzledSelector Another selector.

printDeinitMessage()

final func printDeinitMessage()

Print the deinitialization message of self.