Join Todd Perkins for an in-depth discussion in this video Features of the note-taking app, part of Building a Note-Taking App for iOS 8.
- Let's look at the features of the app that we're going to make. Plain Ol' Notes is a simple note-taking app. Here are the features that it has: You can create and edit simple text-based notes; you can navigate and share data between multiple screens; and we'll save data to the device's persistent storage. The app will also have easily discoverable command patterns to accept user input, so a simple plus button to add a new note, for example.
The app has two screens: A list screen, which is a list of the notes, and an editor screen for editing the notes. The app will support older versions of iOS starting with 5.0, and the user interface will adapt to both 3.5 and 4-inch displays. The list screen is going to allow a user to create a new note by tapping the plus icon, then the list items are truncated with ellipses where necessary to fit on a single line.
You'll see that iOS actually does this for you automatically, and if a list item has line feeds, only the first line is displayed. This is done automatically, as well. For the editor screen, data entry will word wrap and accept line feeds. This is a pretty simple application that will get you introduced to building applications within the iOS SDK.
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