Permalink
Switch branches/tags
Find file Copy path
01d458a Oct 12, 2018
1 contributor

Users who have contributed to this file

47 lines (28 sloc) 2.3 KB

Tutorial: Create a Simple iOS Note-Taking App

Start with a working app and then add cloud enable features. In this tutorial, you take a working app, driven from locally stored data, and then do the following:

Demonstration of the Notes tutorial app you can download

You should be able to complete the setup section of this tutorial within 10-15 minutes after you have installed all required software. Once you complete the instructions on this page, you can run the project on your local system.

Getting Started

Before beginning, you must:

  1. Complete the Getting Started instructions to install the Amplify CLI.

  2. Install Xcode using the Mac App Store (version 9.0 or higher is required).

  3. Configure the Xcode command line tools. Run xcode-select --install from a Terminal window.

  4. Install Cocoapods. From a terminal window run the following:

    $ sudo gem install cocoapods

Download the Source Code

Download the source code from the GitHub repository.

Compile and Run the Project

To compile the source code and run the project in a simulator:

  1. Unzip aws-mobile-ios-notes-tutorial-master.zip and launch Xcode by choosing MyNotes.xcodeproj in the expanded folder.
  2. Choose Product > Build (⌘-B) to build the project.
  3. In the toolbar next to the label with your app name, choose any compatible simulator from the list.
  4. On the top left choose the run icon () or type ⌘-R to build and run the app.

You should be able to interact with the application. Try clicking on the + at the top right to create a note, or choose a note to show the editor screen.

Next Steps

Next, integrate application analytics into your project.