An Animated Tour for iPhone and iPad Developers
Daniel H Steinberg
This book is available for download with iBooks on your Mac or iPad, and with iTunes on your computer. Multi-touch books can be read with iBooks on your Mac or iPad. Books with interactive features may work best on an iPad. iBooks on your Mac requires OS X 10.9 or later.
Note the examples in this book use Xcode 5.x and iOS 7.
Every iOS app consists of what we see on the screen and how we transition to different content. These two fundamental ideas are captured in iOS storyboards as scenes and segues.
iOS Storyboards: An Animated tour for iPhone and iPad Developers, is a concise guide to working with storyboards to create iOS apps. This book contains more than just descriptive prose and static code. You'll also find movies, scrollable code listing, animated code builds, a ton of screen shots, and even graphic-novel style walkthroughs.
What's in this book?
Download the sample chapter. This is Chapter 1. In it you'll learn to use storyboards to construct a single scene. You'll look at outlets and actions as well as gesture recognizers and delegates. If you struggle with this material you may need a more introductory text. Otherwise, this book is definitely for you.
In Chapter 2, we cover three ways to transition from one scene to another and in Chapter 3 we show you how to pass information to the destination view controller in each case.
In Chapters 4 - 6 you'll learn different techniques for passing information in the opposite direction of your segues without coupling. We cover the classic method that uses delegates and protocols as well as the very latest strategies that use unwind segues or blocks. In Chapter 7 we share a common model object and demonstrate how information is communicated through this singleton object.
In Chapter 8 we build a fairly complex storyboard by ignoring much of the underlying code.
Finally, in Chapter 9, we create a universal application backed by Core Data. This example explores many of your options when working with table views.
This survey of iOS storyboards demonstrates many useful techniques. In this short, 150 page book, you'll get a clear view on how to best take advantage of storyboards in the apps you are building.
The book is currently being offered at a reduce price because the material is dated.
What's New in Version 2.0
The links in the book have been updated and the cover has been changed.
Very well done!
This is a great book, covering all the basics of storyboards, including the new unwind segue feature in iOS 6. Incredibly well written, with easy to follow tutorials (made even easier by the great videos and comic-book style walkthroughs).
I was hesitant to purchase the book at first, since I was already quite familiar with using storyboards (I always use them in my apps), but I'm quite glad I did. Not only did I get a great explanation of unwind segues, but I learned some really cool tips and tricks along the way. I was also introduced to a couple things that I never knew about in Storyboards, or that I had always done a different way.
I would definitely recommend this book for any iOS developer, whether you're just starting your transition from using nibs, or even if you have been using storyboards since the introduction of iOS 5.
Ideal match of form and content
Among all my iOS developer and author friends, Daniel Steinberg was the first to hop on both iBooks Author and Storyboards. It's probably no surprise that the two make for an ideal match in this book.
Probably the most striking thing about this book is the comic-book style presentation of the GUI walkthroughs. This form of presentation makes it eminently clear what you're supposed to do and how. Having struggled in my own books to write my way around a single screenshot that may well be on another page ("as shown in Figure 3.1 on page 45…"), being able to step through the making of connections, the setting of attributes, the reassignment of class identities, with one screenshot each and with the description set as a comics-style narrative box in whatever part of the frame makes sense, and to then be able to go forward and backwards through the panels… I predict you're going to see a lot of people ripping this off because it's such a good idea and it works so well. Just remember you saw it here first.
Beyond the presentation -- and the rest of it is good too, particularly the code examples which are syntax-highlighted and scrollable -- the actual content of the book is a marvel. Storyboards are as much a challenge for experienced developers as newbies, since they demand a different way of thinking about the relationship of freeze-dried GUI and code. They make a lot of things easier (the Tables chapter spells out the wins for custom table cells and static tables that look to the user like collections of buttons), but make a few things harder. In particular, the passing of data can be a hassle with storyboards, as connections you could make with nibs are not allowed between storyboard scenes. This means you need to use the segue methods to pass data, and that's covered consistently through the book, from easy approaches early on, to clever block-based tricks later.
The book is made with iBooks Author, so it's iPad only, and is better for it: prop up your iPad in landscape next to your Mac and swipe through it as you do the lessons. In an iBookstore drowning in minimally-formatted shovelware, a book like this is a treasure. Hopefully Apple will promote this book strongly: it will help the millions of iOS developers adopt an important technology, and it will show other authors and iBooks Author producers what a good iBook looks and feels like.
If you've ever seen Daniel speak about storyboards, you've seen him show his deep knowledge of the subject matter. This book encapsulates his solid understanding in a rich, comprehensive and interactive manner that is seriously a great tool to have when dealing with the sometimes maddening world of storyboards.
Now, if you don't mind, I'm going to file a radar stating that Daniel should present the storyboard talk at the next WWDC.
- Category: Programming
- Published: Feb 02, 2013
- Publisher: Dim Sum Thinking, Inc
- Seller: Dim Sum Thinking, Inc
- Print Length: 162 Pages
- Language: English
- Version: 2.0