I’ve been struggling with Swift compilation times recently. Working on a larger app means that we are adding a lot of new Swift code. Swift isn’t the fastest to compile, it sometimes has issues around type inference (Swift 3 appears to improve a lot of this, but at time of writing I hadn’t migrated yet).
Continue reading
I had an interesting discussion with a co-worker yesterday, we were discussing how to grab all the comments from an Objective-C source file. We tried to think about how to do that with a regex, which probably would have worked ok, but definitely wouldn’t have handled all the edge cases easily.
Continue reading
With Xcode 7, Apple has given us a new tool for user interface testing.
I’m not going to cover the basics here, but for an great introduction to user interface testing in Xcode, check out this awesome article: UI Testing in Xcode 7
Continue reading
This guide is how I set up new projects to run unit tests automatically when I push a commit or merge a branch on GitHub for iOS projects.
Continue reading
This is a quick guide that documents how to start developing plugins for Xcode4. You need to have Xcode installed to create plugins.
Continue reading