Some folks say that iOS apps aren’t really susceptible to automated testing at all, and that that’s okay since they tend to have pretty short lifetimes anyway. Others say that part of an app’s operation can be tested with functional UI tests, but beyond that it’s really a lost cause. Still others can unit-test the middle layers, but code that involves the UI or the hardware is really untestable. All those folks are wrong. There are indeed limits to what automated tests can reach in an iOS app, but those limits are nowhere near where you’ve been told they are. Come see a non-trivial iOS app that shows 100% unit-test coverage, including the UI and the accelerometer, and learn a few tricks of the trade that will enable you to take similar advantage in your own code.