Teaching App Development with Swift

EasyBrowser

Level 3, Five Lessons

Introduce students to WebKit, and show them how to integrate a UIWebView within their apps. Practice using delegates, delegation and protocols to implement app behavior.

The Finished App

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

Lesson 1

Demonstrate how one app can bring another app to the foreground using specific URLs, as a vehicle for practicing optional binding.

Lesson 2

Demonstrate the web view component, and how it can display web content within an app interface. Practice applying Auto Layout constraints.

Lesson 3

Introduce toolbars and other controls, revealing opportunities to adjust Auto Layout constraints. Using a text field, introduce the different keyboard types that afford different types of user input.

Lesson 4

Emphasize delegates, delegation and protocols, particularly for handling text field interaction.

Lesson 5

Demonstrate how some interface element behaviors may be bound directly to other interface elements.

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