Book Image

Mastering iOS 12 Programming - Third Edition

By : Donny Wals
Book Image

Mastering iOS 12 Programming - Third Edition

By: Donny Wals

Overview of this book

The iOS development environment has significantly matured, and with Apple users spending more money in the App Store, there are plenty of development opportunities for professional iOS developers. However, the journey to mastering iOS development and the new features of iOS 12 is not straightforward. This book will help you make that transition smoothly and easily. With the help of Swift 4.2, you’ll not only learn how to program for iOS 12, but also how to write efficient, readable, and maintainable Swift code that maintains industry best practices. Mastering iOS 12 Programming will help you build real-world applications and reflect the real-world development flow. You will also find a mix of thorough background information and practical examples, teaching you how to start implementing your newly gained knowledge. By the end of this book, you will have got to grips with building iOS applications that harness advanced techniques and make best use of the latest and greatest features available in iOS 12.
Table of Contents (35 chapters)
Title Page
Copyright and Credits
Dedication
Packt Upsell
Contributors
Preface
Index

Getting familiar with CloudKit


CloudKit is a service that Apple created as a simple tool for application developers to store data on a remote server. The beauty of this service is that any user with an iCloud account can be identified automatically by CloudKit, meaning you can begin connecting data to your user immediately without having them first sign up for your service.

Signup screens are often considered to be dealbreakers for users because they don't want to share their email address with certain apps, or just because they think signing up for a particular app isn't worth the effort. With CloudKit, you can remove all this friction because users are discretely logged into your app using the iCloud account that they already use on their device.

When you add CloudKit to your app, you will find that it offers a lot of great functionalities to help you keep the number of web requests as low as possible, and you can even have CloudKit notify your app when something changes on the remote server...