Diffing APIs with class-dump

In order to stay abreast on the latest changes to XCTest, I run class-dump on it whenever I download a new version of Xcode.

You can download the latest version and try it out yourself. From the command line:

$ class-dump -H /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCTest.framework

This creates a list of headers found in the framework:

// ...and so on.

This allows me to see what’s changed between two versions of XCTest on a per-file basis. It’s fun to see how XCTest changed between Xcode 7.0 and Xcode 7.1b2, for example.

Because the changes are split up into files, I can clearly see that there’s a brand new interface named XCUIRecorder_tvOS.

Try it out on a framework you’re interested in!


Now read this

Swift on Android, Part Two: What Now?

I wrote about the technical details of porting the Swift runtime to Android in my last post. This post discusses the implications for mobile developers. Should you write iOS/Android cross-platform code in Swift? Writing cross-platform... Continue →

Subscribe to ⌘U

Don’t worry; we hate spam with a passion.
You can unsubscribe with one click.