Join Todd Perkins for an in-depth discussion in this video Understanding screens and storyboards, part of Building a Note-Taking App for iOS 8.
- ^In Xcode, user interfaces are organized into storyboards.…So, I'm going to single click on Main.storyboard…in the project navigator to look at…our user interface for our application.…A storyboard enables you to lay out…your application in different scenes.…Think of a scene as an individual screen on your phone.…So, if you browse through this…file you'll see a Master node.…It says Navigation Controller inside of it.…
As I scroll to the right, I'll see another node…with little cells in it and it says Table View.…And as I scroll all the way to the right…and then I see a the Detail view.…So, these correspond to different views…or scenes for our application.…When you launch the app, you see a list,…or what's known as a Table View.…When you tap one of the items in the Table View,…you're then taken to the Detail View.…So, what we're going to edit right now is the Detail View.…
For our node application, we don't want a single…text label in the center of the screen.…We want a text field occupying the entirety of…the screen so that the user can type…
Each of these courses helps you build a complete mobile app from scratch; this installment uses the iOS SDK and Xcode to get the job done. Author Todd Perkins shows you how to create an Xcode project, lay out apps visually, connect UI elements to code, and save data to persistent storage. Start here with iOS 8, and compare your results with the Android and Windows Phone courses to learn about the differences and similarities of these mobile platforms.
- Previewing the note-taking app's features
- Creating the Xcode project
- Using local data storage
- Creating a data class
- Saving data to a file or user defaults
- Understanding screens and storyboards
- Controlling transitions between views
- Connecting the controller to the data
- Creating, editing, and deleting notes