How to swizzle init in Swift
问题 I'm following Swift & the Objective-C Runtime, it works for normal methods. I like to swizzle init method, from my understanding, init is like a class method. So I tried swizzling init as instance and class method. But it does not seem to work I can make it work using Objective C, just wonder how to make it work in Swift Excerpted from my gist dispatch_once(&Static.token) { let originalSelector = Selector("init:source:destination:") let swizzledSelector = Selector("ftg_init:source:destination