I find myself doing more and more dynamic UI layout in iOS apps these days. When elements of a UI need to resize to fit their contents, or move to accommodate other elements, the layout code can get complex and verbose. We’ve developed a set of Objective-C UIKit macros that help make this code more readable, self-documenting, and easy to change.
When a view is offset from another view, you might write something like this:
These macros help make that code more concise and scannable:
You can download the macros from our TBMacros Github repo. First let’s take a look at an example Continue reading

If you use additional files or libraries during development like
I previously posted 
When you build a new iPhone or iPad app from scratch, you can generate a new project with tests using Xcode’s project templates, and the test dependency is set up correctly.