Teaching App Development with Swift

Found

Level 3, Five Lessons

Introduce students to Map Kit and Core Location. Show students how to incorporate maps and locations within their apps while emphasizing delegates and protocols.

The Finished App

Familiarize yourself with the project, and demonstrate the app students will build.

Lesson 1

Teach students how iOS handles particular URLs, and how to bring the Maps app to the foreground.

Lesson 2

Introduce Map Kit, and demonstrate how to add a Map View to an app. Introduce a runtime error as a context for discussing frameworks, compilation and linking.

Lesson 3

Facilitate students in adding device location on a map, and teach students how to configure the location in the iOS Simulator.

Lesson 4

Emphasize delegates and protocols while demonstrating how to "zoom in" on a map location. Explore the Core Location framework to investigate the concept of structures.

Lesson 5

Teach students about Map Kit annotations, and facilitate adding a location pin on the map. Adopt a protocol within a custom class definition.

The course materials only, and not any other content of this web page, are to be used pursuant to a Creative Commons license, as specified in the license information within the course materials.

Trademark Information

The Swift logo, Apple, the Apple logo and other Apple trademarks, service marks, graphics, and logos used in connection with the Swift Education project are trademarks or registered trademarks of Apple Inc. in the US and/or other countries. Other trademarks, service marks, graphics, and logos used in connection with the Swift Education project may be the trademarks of their respective owners. You are granted no right or license in any of the aforesaid trademarks, and further agree that you shall not remove, obscure, or alter any proprietary notices (including trademark and copyright notices) that may be affixed to or contained within the Service.

For further information about proper referential uses of the Swift logo, please review the “Guidelines for Using Apple Trademarks and Copyrights”.