Laying Out the User Interface
Select Main.storyboard from the project navigator. The iOS single view application template is much simpler than the Cocoa storyboard you used in the previous chapter. Your storyboard currently contains only a single, empty view controller.
Add a button to your view controller. In the object library (at the bottom of the utilities pane), search for “button.” Drag a Button onto your view controller canvas and drop it in the top-right corner where it will snap into place against the dashed blue guidelines. Finally, change the title of the button to “Insert” in the attributes inspector. The attributes inspector is one tab of the utilities pane, and it allows you to configure properties of views. Your ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access