Book Image

Mastering iOS 14 Programming - Fourth Edition

By : Mario Eguiluz Alebicto, Chris Barker, Donny Wals
Book Image

Mastering iOS 14 Programming - Fourth Edition

By: Mario Eguiluz Alebicto, Chris Barker, Donny Wals

Overview of this book

Mastering iOS 14 development isn’t a straightforward task, but this book can help you do just that. With the help of Swift 5.3, you’ll not only learn how to program for iOS 14 but also be able to write efficient, readable, and maintainable Swift code that reflects industry best practices. This updated fourth edition of the iOS 14 book will help you to build apps and get to grips with real-world app development flow. You’ll find detailed background information and practical examples that will help you get hands-on with using iOS 14's new features. The book also contains examples that highlight the language changes in Swift 5.3. As you advance through the chapters, you'll see how to apply Dark Mode to your app, understand lists and tables, and use animations effectively. You’ll then create your code using generics, protocols, and extensions and focus on using Core Data, before progressing to perform network calls and update your storage and UI with the help of sample projects. Toward the end, you'll make your apps smarter using machine learning, streamline the flow of your code with the Combine framework, and amaze users by using Vision framework and ARKit 4.0 features. By the end of this iOS development book, you’ll be able to build apps that harness advanced techniques and make the best use of iOS 14’s features.
Table of Contents (22 chapters)

What this book covers

Chapter 1, What's New in iOS 14, explores the latest APIs just released along with some of the current cutting-edge features available in iOS and the new changes in Swift 5.

Chapter 2, Working with Dark Mode, teaches you how a few easy steps from the start can make all the difference when implementing Dark Mode into either your new or existing iOS app.

Chapter 3, Using Lists and Tables, gets you to grips with how to handle Lists and Tables in iOS – while also explaining the finer details behind what makes them work.

Chapter 4, Creating a Detail Page, takes everything we've learned so far a step further by building out a specific details page for data taken from our Lists and Tables.

Chapter 5, Immersing Your Users with Animation, takes a look, with the foundation of our app set up, at what UIKit has to offer in terms of animation in Swift and iOS.

Chapter 6, Understanding the Swift Type System, allows you to get to grips with the theory behind the Swift type system, which plays a massive part in Swift programming languages.

Chapter 7, Flexible Code with Protocols, Generics, and Extensions, allows you to take the structure of an application that little bit further, learning core principles of software development in Swift.

Chapter 8, Adding Core Data to Your App, introduces Apple's CoreData framework as a way to include a database for user data in your app.

Chapter 9, Fetching and Displaying Data from the Network, shows how to make use of web APIs to fetch and display data.

Chapter 10, Making Smarter Apps with CoreML, explains what machine learning is, how it works, how you can use trained machine learning models in your apps, how you can use Apple's Vision framework to analyze images, and you'll see how it integrates with CoreML for powerful image detection. Lastly, you'll learn how to use the new CreateML tool to train your own models.

Chapter 11, Adding Media to Your App, covers playing back audio and video, taking photos, and extracting depth data from photos when available.

Chapter 12, Improving Apps with Location Services, shows several ways that apps can implement location tracking to enhance and improve a user's experience.

Chapter 13, Working with the Combine Framework, covers the Combine framework, allowing you to learn and understand the fundamentals of event-driven programming, including why and how we'd use it in our day-to-day applications.

Chapter 14, Creating an App Clip for Your App, focuses on creating a new App Clip for an existing app, understanding the restrictions, design guidelines, and options available for it.

Chapter 15, Recognition with Vision Framework, explains the Vision framework and how to recognize text in images and hand landmarks in video streams with iOS 14.

Chapter 16, Creating Your First Widget, focuses on creating a new Widget for an existing app, understanding the different options, sizes, and functionality that can bring to users.

Chapter 17, Using Augmented Reality, introduces ARKit and all its available features, including how to use 3D models and Scene Kit in order to build an augmented reality world for your app.

Chapter 18, Creating a macOS App with Catalyst, teaches Mac Catalyst, a way to develop iPadOS apps to run as native macOS apps. It takes an example project and turns it into a fully functioning macOS app that can be distributed to the Mac App Store.

Chapter 19, Ensuring App Quality with Tests, shows you how to set up tests for iOS applications.

Chapter 20, Submitting Your App to the App Store, demonstrates how to distribute apps to beta testers through TestFlight and how to submit an app for review in order to publish it to the App Store.