Regain Control of Untamed iOS Code

Structure and build your iOS code for maintainability.
Then you can respond to change, because your code won’t fight you.
 
 
 

We started from zero TDD

Jon really helped me understand what I should be testing when I didn't know where to start. My team started from zero TDD and my successes in it have inspired the rest of the team to start.

profile-pic
Oliver Foggin Senior iOS developer
 

How to Write Clean Code

safety harness

Unit Testing

A robust suite of unit tests acts as a safety harness, giving you courage to make bold changes. But there’s an art to making tests that give you useful information, while keeping the tests themselves readable & maintainable.

checklist

TDD

Unit tests written after production code are hard to write, and may only confirm your biases. Test Driven Development shapes production code in response to tests, in an evolutionary manner. The secret sauce? Continuous Refactoring.

blueprint

Design

We can’t just bang code together and expect it to be testable. Testability must be designed in. That design brings other benefits, making it easier to modify the code. The ultimate goal? Drive down your cost of change.

 

Generate Test Scaffolding

STAY FOCUSED

Speed up the basic mechanics of writing unit tests… Generate code for either Swift or Objective-C. Templates are provided for both Xcode and AppCode, and are free to all subscribers.

code snippet sample

 

Become a subscriber
today!

 

When I was just starting with unit testing, I attended a talk from Jon on the different types of unit testing. Jon really helped me understand how all of the pieces come together. I now ensure that all of my iOS code has changes that are covered by unit tests. A lot of Jon's posts on Quality Coding help with understanding ways in which you can write tests for tricky components unique to your ecosystem.

profile-pic
Orta Therox Head of Mobile at Artsy

Thank you so much for these awesome screencasts and tips!! I have used your techniques to unit test view controller and XIBs and UIAlertViews successfully :-)

profile-pic
Amit Rao