Skip to content

PacktPublishing/SwiftUI-Cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI Cookbook

SwiftUI Cookbook

This is the code repository for SwiftUI Cookbook, published by Packt.

Discover solutions and best practices to tackle the most common problems while building SwiftUI apps

What is this book about?

SwiftUI is an innovative and simple way to build beautiful user interfaces for all Apple platforms, right from iOS and macOS through to watchOS and tvOS, using the Swift programming language. In this recipe-based book, you’ll work with SwiftUI and explore a range of essential techniques and concepts that will help you through the development process. The recipes cover the foundations of SwiftUI, as well the new features of SwiftUI 2.0 introduced in iOS 14. A few recipes are addressed to make some new SwiftUI 2.0 components retrocompatible to iOS 13, such as the Map view or the Sign in With Apple View.

This book covers the following exciting features:

  • Explore various layout presentations in SwiftUI such as HStack, VStack, LazyHStack, LazyVGrid, and more
  • Create a cross platform app for iOS, macOS and watchOS
  • Get up to speed with drawings in SwiftUI by building shapes, custom paths, and polygons
  • Discover modern animation and transition techniques in SwiftUI
  • Add user authentication using Firebase and Sign In with Apple

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

if (test expression)
{
  Statement upon condition is true
}

Following is what you need for this book: 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 basic knowledge of the Swift programming language. Although knowledge of object-oriented design and data structures will be useful, it is not necessary.

With the following software and hardware list you can run all code files present in the book (Chapter 1-13).

Software and Hardware List

Chapter Software required OS required
1 to 13 Xcode 12 macOS
10 Firebase account macOS

Related products

Get to Know the Author(s)

Giordano Scalzo is a developer with 20 years of programming experience, since the days of ZX Spectrum. He has worked in Swift, Objective-C, C/C++, Java, .Net, Ruby, Python, and in a ton of other languages that he has forgotten the names of. After years of backend development, over the past 5 years, Giordano has developed extensively for iOS, releasing more than 20 apps—apps that he wrote for clients, enterprise applications, or on his own. Currently, he is a contractor in London, where he delivers code for iOS through his company, Effective Code Ltd, with the objective being quality and reliability.

Edgar Nzokwe is a software engineer at Booz Allen and an adjunct computer science instructor at Howard Community College in Maryland. He has more than 5 years of experience in the field of software engineering and has spent most of that time building web and mobile applications. His areas of expertise include SwiftUI, UIKit, and Kotlin. Edgar is dedicated to advancing the knowledge base of SwiftUI because he believes it will significantly improve UI and cross-platform app development time.

Other books by the authors

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781838981860

About

SwiftUI Cookbook, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages