Closed zenangst closed 9 years ago
@johnno1962 I'll have a look but it will be hard to test now that all my Macs use Xcode 6.3.
I can test it for you. I won’t be upgrading just yet.
@johnno1962 nice! I'll keep you posted :+1:
Method m = class_getInstanceMethod( class, old selector ) if ( m ) class_addMethod( class, new selector, method_getImplementation( m ), method_getTypeEncoding( m) sort of thing in pluginDidLoad
I’ve merged and put in the fix to keep 6.2 and 6.3 running: https://github.com/johnno1962/GitDiff/commit/bc1bb2262d01d28d3e2a32dee0b57e2b7abf5c11
That's awesome! Great work
I got stuck working overtime today.
Hey Christof, any chance you could make this work for Xcode 6.2 and Xcode 6.3 for those that don’t plan on upgrading for a while by using class_addMethod() to add the method under the new name of it is not there.