Get Free Shipping on orders over $79
SwiftUI Cookbook : A guide to solving the most common problems and learning best practices while building SwiftUI apps, 2nd Edition - Edgar Nzokwe Giordano Scalzo

SwiftUI Cookbook

A guide to solving the most common problems and learning best practices while building SwiftUI apps, 2nd Edition

By: Edgar Nzokwe Giordano Scalzo

eText | 1 November 2021 | Edition Number 2

At a Glance

eText


$49.49

or 4 interest-free payments of $12.37 with

 or 

Instant online reading in your Booktopia eTextbook Library *

Why choose an eTextbook?

Instant Access *

Purchase and read your book immediately

Read Aloud

Listen and follow along as Bookshelf reads to you

Study Tools

Built-in study tools like highlights and more

* eTextbooks are not downloadable to your eReader or an app and can be accessed via web browsers only. You must be connected to the internet and have no technical issues with your device or browser that could prevent the eTextbook from operating.

Find practical, logical, and efficient recipes for building cross-platform apps for iOS 15, macOS, and watchOS using Swift 5.5, Xcode 13, and SwiftUI 3.0

Key Features

  • Apply the declarative programming paradigm to build cross-platform UIs for Apple devices
  • Learn to integrate UIkit, Core Data, Firebase, and Sign in with Apple with SwiftUI
  • Adopt the new SwiftUI 3.0 features to build visually appealing UIs speedily

Book Description

SwiftUI provides an innovative and simple way to build beautiful user interfaces (UIs) for all Apple platforms, right from iOS and macOS through to watchOS and tvOS, using the Swift programming language. In this recipe-based cookbook, you'll cover the foundations of SwiftUI as well as the new SwiftUI 3 features introduced in iOS 15 and explore a range of essential techniques and concepts that will help you through the development process.

The cookbook begins by explaining how to use basic SwiftUI components. Once you've learned the core concepts of UI development such as Views, Controls, Lists, and ScrollViews using practical implementations in Swift, you'll advance to adding useful features to SwiftUI using drawings, built-in shapes, animations, and transitions. You'll understand how to integrate SwiftUI with exciting new components in the Apple development ecosystem, such as Combine for managing events and Core Data for managing app data. Finally, you'll write iOS, macOS, and watchOS apps by sharing the same SwiftUI codebase.

By the end of this SwiftUI book, you'll have discovered a range of simple, direct solutions to common problems encountered when building SwiftUI apps.

What you will learn

  • Explore various layout presentations in SwiftUI such as HStack, VStack, LazyHStack, and LazyVGrid
  • Create widgets to quickly display relevant content at glance
  • Get up to speed with drawings in SwiftUI using built-in shapes, custom paths, and polygons
  • Discover modern animation and transition techniques in SwiftUI
  • Add user authentication using Firebase and Sign in with Apple
  • Manage concurrency with Combine and async/await in SwiftUI
  • Solve the most common SwiftUI problems, such as integrating a MapKit map, unit testing, snapshot testing, and previewing layouts

Who This Book Is For

This book is for mobile developers who want to learn SwiftUI as well as experienced iOS developers transitioning from UIkit to SwiftUI. The book assumes knowledge of the Swift programming language. Knowledge of object-oriented design and data structures will be useful but not necessary. You'll also find this book to be a helpful resource if you're looking for reference material regarding the implementation of various features in SwiftUI.

Table of Contents

  1. Using the Basic SwiftUI Views and Controls
  2. Going Beyond the Single Component with Lists and Scroll Views
  3. Advanced Components
  4. Viewing while Building with SwiftUI Preview
  5. Creating New Components and Grouping Views in Container Views
  6. Presenting Extra Information to the User
  7. Drawing with SwiftUI
  8. Animating with SwiftUI
  9. Driving SwiftUI with Data
  10. Driving SwiftUI with Combine
  11. SwiftUI Concurrency with async/await
  12. Handling Authentication and Firebase with SwiftUI
  13. Handling Core Data in SwiftUI
  14. Cross-Platform SwiftUI
  15. SwiftUI Tips and Tricks
on
Desktop
Tablet
Mobile

More in Macintosh Programming

GraphQL Security - Oliver Trent

eBOOK

$10.99

VMware Virtualization - Henry Codwell

eBOOK

Hadoop Engineering - Jaxon Vyas

eBOOK