Inspired by the great work that came out of writing Testing IBOutlets (and the wonderful help I got through sharing the code), I’ve created a micro-library which contains these testing functions to make it easy to include them in a project. Outlets is live now on CocoaPods and can also be built with Carthage, if that’s your poison.
For now, the library only works with iOS apps as these utility functions depend on UIKit. I’ll be looking into support for OS X, tvOS and watchOS (if we get XCTest support for it in June ).
Why don’t you give it a good ol’
pod try Outlets?