navigation

Build an iOS App
using a cloud-based backend.

Welcome!

In this workshop, we will create a data-driven native iOS app, integrated with a cloud-based backend. We will use Amazon Cognito to manage user authentication and we’ll use AWS AppSync to get up and running quickly with a GraphQL API that backs our data in Amazon DynamoDB. We’ll demonstrate how to use the AWS Amplify library to authenticate users, to communicate with our API, and to download images from Amazon S3.

This guide assumes that you are familiar with iOS development and tools. If you are new to iOS development, you can follow these steps to create your first iOS application using Swift.

Estimated run time

This workshop takes about 2h to 3h to complete.

Learning Objectives

The main learning objective of this workshop is to let you discover how to take advantage of a secure, fully managed, scalable cloud backend for your iOS applications.

We divided this workshop in three parts :

  • In the first part (section 3) you will learn how to add a user authentication flow to your application. In real life, multiple flows are required to support user authentication : SignIn, SignUp, Forgot Password, Email / Phone number verification etc. We are going to implement all of them with just a few lines of code.

  • In the second part (section 4 and section 5) you will learn how to deploy and call an API from your mobile application.

  • Finally, you will learn how to add Identity Federation for your login screen (also known as “Login with XXX”) (section 6) and to create your own authentication user interface (section 7).