johnno1962 / GitDiff

Highlights deltas against git repo in Xcode
MIT License
891 stars 54 forks source link

Add Xcode 6.3 DVTPlugInCompatibilityUUIDs #34

Closed zenangst closed 9 years ago

johnno1962 commented 9 years ago

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.

zenangst commented 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.

johnno1962 commented 9 years ago

I can test it for you. I won’t be upgrading just yet.

zenangst commented 9 years ago

@johnno1962 nice! I'll keep you posted :+1:

johnno1962 commented 9 years ago

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

johnno1962 commented 9 years ago

I’ve merged and put in the fix to keep 6.2 and 6.3 running: https://github.com/johnno1962/GitDiff/commit/bc1bb2262d01d28d3e2a32dee0b57e2b7abf5c11

zenangst commented 9 years ago

That's awesome! Great work

zenangst commented 9 years ago

I got stuck working overtime today.