If You Build It…
Interface Builder is Xcode’s “secret sauce.” It makes the creation of complex interfaces effortless: drag interface elements into a canvas, connect them, click a button, and they become working objects in your app. It’s like magic.
Any sufficiently advanced technology is indistinguishable from magic.
—Arthur C. Clarke
“Magic” is often used to describe what we don’t understand. Interface Builder can sometimes meet this criteria. It works; you just don’t know how. Well, step behind the curtain and prepare to learn those secrets. In this chapter, you will learn the following: