Intermediate – Using APIs, GPS Location and Local Notifications on iOS

  • Course level: Intermediate

Description

This short course teaches you how to use on board hardware – specifically the GPS in this case. The steps taken are similar to accessing other types of hardware so once complete you’ll have a god idea of how to do it for your specific needs using on device hardware.

We also introduce the idea of communicating with web APIs (servers with data on them). I outline the ways you should think about doing this and how certain plugins can get us to the end result faster.

Finally I show you how to implement local notifications so you can send reminders to the end user (without needing to pay for a cloud notification service).

By the end you’ll have a simple app that looks great but actually contains a lot of complexity!

The app will:

  • Access your location and ask for permission
  • Ask you for your skin type (to determine max UV exposure)
  • Retrieve weather data from an online service
  • Calculate safe UV exposure time
  • Offer to remind the user of overexposure

This is a great way to deep dive into a real app that could be released to the app stores!

Topics for this course

24 Lessons02h

Introduction?

What we're building!
What we’re Building02:00

Requesting Permission on iOS?

See how it works and what you can and can't do

Creating the User Interface?

Go a little deeper into what makes a good UI

Action Sheet Alerts?

Understand how to use these versatile alerts!

User Defaults Storage on iOS?

The simplest and easiest way to store persistent data!

Access Hardware on Your Phone?

Learn to use the GPS system

Using Third Party APIs?

Understand how to get data from third party servers for use in your app

Business Logic of the App?

How we perform calculations and where to store them in theory

Indicators and Local Notifications?

Keep your user informed!