Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 4. Designing Interfaces > Recipe: Moving Views by Mimicking Templates

Recipe: Moving Views by Mimicking Templates

There’s a much simpler way to accomplish the same movement with less work. That’s by creating templates. Using a storyboard-based template allows each view to update itself to match a design that you set in Interface Builder. Here’s how it works.

Start with the IB Converter base project. Duplicate it and open it in Xcode. Add tags to each item in the main view. The exact numbers aren’t important—what matters is that each view has a unique tag and that those tags exceed the value 10. The over-10 numbering is not official; it’s a convention I use to avoid conflicting with any occasional Apple built-in tagging scheme.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint