O'Reilly logo

Learning Swift, 2nd Edition by Jon Manning, Tim Nugent, Paris Buttfield-Addison

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Setting Up the iOS Notes App

People carry their phones everywhere, and they expect to have access to everything, any time. This means that, for a note-taking app like the one we made in Part II, our users are going to want access to the notes that they’ve been writing while on their phones.

Over the next several chapters, we’ll implement an iOS application that allows users to both write new notes while on the go and also access the notes that they’ve made on their Mac, using the macOS app we built in Part II. Because the Mac app was already set up using iCloud, their documents already exist in the cloud; this means that our iOS application will be able to access them.

By storing documents that were created on the phone in iCloud, users can seamlessly move from their desktop computer to their phone and back again, while having access to all of their documents at the same time. Additionally, if they own more than one iOS device—for example, both an iPhone and an iPad—their documents will exist on all of their devices at the same time.

Tip

You can download the resources for this app, including wireframes, mockups, and icons from this book’s website.

We’ll be doing a lot more coding in this part than we did back in Part II, when we built the macOS app. We’ll begin the iOS app by first discussing its design—both its visual design and the design of the software. Next, we’ll dive in and begin creating the app, assembling a new Xcode project for it, adding the icon, and adding ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required