An Animated Tour for iPhone and iPad Developers
Daniel H Steinberg
This book is available for download with iBooks on your Mac or iOS device. Multi-touch books can be read with iBooks on your Mac or iOS device. Books with interactive features may work best on an iOS device. 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.
Buy the book!
After downloading the sample, reading it, and executing it, I just bought the book!
This is simply the best iOS development resource I have ever encountered. The content is well-written and timely and the different iBook gadgets (walkthroughs, video, etc) really work to help you learn the topic. Will buy any future iBooks from this author.
The book covers basic storyboard choreography and every method for passing data around between them (properties, delegates, blocks, etc). It assumes you have some basic Objective-C and iOS experience yet would still be just fine for a beginner.
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.