News for hackers. Stuff that matters.
Re:Dissecting objc_msgSend on ARM64 by plorkyeran on Saturday July 01, 2017 @02:09PM (#14678170)
KVO creates a new subclass and changes your object to that subclass rather than replacing methods on the original class, so checking the isa pointer would be sufficient for that case. Method swizzling would break, but I suspect that most obj-c code could be compiled without support for swizzling without breaking anything.
Re:Dissecting objc_msgSend on ARM64 by icodestuff on Saturday July 01, 2017 @04:07PM (#14678721)
Swizzling is not the only thing that would break. You'd break categories in dynamically loaded frameworks or bundles, and yes, you'd still break KVO because it replaces -dealloc and -class on the newly-created classes.

You'd also break dynamically adding methods to classes.

Re:Dissecting objc_msgSend on ARM64 by CodeWriter23 on Saturday July 01, 2017 @06:57PM (#14679546)
What is a typical use case for dynamically adding methods to a class?