Creating the Native App

In the previous chapter, we got a little preview of server-side Swift. Now, we will switch gears, and start working with Swift on a platform that it was originally designed for: Apple's iOS. Swift is currently a very popular language for app development, not only for iOS, but also for tvOS and macOS platforms. In this chapter, we will focus on iOS and build our first iOS app in pure Swift using Xcode. We will be following the model-view-controller architectural pattern popular for building apps in iOS. In the chapter, we will cover the following:

  • The features of our Shopping List app
  • Walk through how to create a new app project using Xcode
  • The structure of an app and its Models, Views, and View Controllers
  • Learn how ...

Get Hands-On Full-Stack Development with Swift now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.