Teaching App Development with Swift

Flashcards

Level 4, Eight Lessons

Lead students in discovering how navigation controllers manage a view controller hierarchy, using a flashcard metaphor. Demonstrate segues and navigation bars, and support a deeper understanding of Swift.

The Finished App

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

Lesson 1

Introduce navigation controllers, and establish a hierarchy of controllers with a segue.

Lesson 2

Facilitate the creation of a model class, and teach students about convenience and designated initializers.

Lesson 3

Illustrate data structures, Swift closures expressions and map, with a card deck.

Lesson 4

Lead students in integrating the model and controller, and practice implementing computed properties.

Lesson 5

Demonstrate adding another view controller to the storyboard, and how to pass models between controllers using segues.

Lesson 6

Facilitate students in analyzing feature requirements, and using controller life cycle methods.

Lesson 7

Support students in adding a third view controller to the navigation controller hierarchy.

Lesson 8

Guide students in refactoring Swift code with multiple optional bindings.

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”.