Today I solved a difficult API problem elegantly by swizzling NSNotificationCenter. Remind me how we'll do that in Swift again?
-
-
@mpweiher@nicklockwood@jckarter Who was the caller? Your code or the frameworks? -
@concreteniche Don't remember, why?@nicklockwood@jckarter -
@mpweiher@nicklockwood@jckarter Because if you are the caller, you are just providing a correct implementation, which Swift could also do. -
@concreteniche I could also use one of my several affine-transform implementations, but that wouldn't solve the prob.@nicklockwood@jckarter -
@mpweiher@nicklockwood@jckarter Hopefully lack of method swizzling will mean Apple have to be more active at framework bug fixing. -
@concreteniche@mpweiher@jckarter yeah, I'm sure that will work out just great:https://twitter.com/steipete/status/677052301329244160 …
-
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Nick Lockwood
Joe Groff
Marcel Weiher
Patrick Smith