Image credit: Apple

Xcode: A Better Way to Deal with Storyboards

Tips and tricks to enjoy the Interface Builder

Stan Ostrovskiy
5 min readSep 17, 2016

--

Apple have made the great improvements in the Interface Builder in Xcode 8. Using the size classes became more intuitive, ability to zoom your storyboard is very convenient, and the full preview right in the Interface Builder is just amazing. For those who were hesitant about using Interface Builder, this may become a deal breaker.

On the other hand, many developers still have some troubles with the Interface Builder when they build big multi-screen apps with complex navigation.

In this article, I will share some of the good practices when you deal with storyboards and nibs in your project. Either you was using Interface Builder before, or you just making the first step in this direction, these tips may be useful for you.

1. If you work in team, use separate storyboard for every screen. If you work alone, it’s still a good habit.

Do you have a single main.storyboard file in your project that looks similar to this?

--

--