SwiftUI Projects Build six real-world cross-platform mobile applications using SwiftUI from scratch

Craig Clayton

  • 出版商: Packt Publishing
  • 出版日期: 2020-12-11
  • 售價: $1,220
  • 貴賓價: 9.5$1,159
  • 語言: 英文
  • 頁數: 413
  • 裝訂: Paperback
  • ISBN: 183921466X
  • ISBN-13: 9781839214660
  • 相關分類: Apple Developer使用者介面 UI
  • 立即出貨 (庫存=1)



Learn SwiftUI by building compelling user interfaces for watchOS, iPadOS, and iOS with Swift 5 and Xcode 11

Key Features

  • Learn SwiftUI with the help of practical cross-platform development projects
  • Understand the design considerations for building apps for different devices like Watch, iPhone, and iPad
  • Work with advanced SwiftUI layout features, including SF Symbols, dark mode, and accessibility

Book Description

Released by Apple during WWDC 2019, SwiftUI provides an innovative and exceptionally simple way to build user interfaces for all Apple platforms with the power of Swift

This practical guide involves six real-world projects built from scratch, with two projects each for iPhone, iPad, and WatchOS built using Swift programming and Xcode. Starting with the basics of SwiftUI, you'll gradually delve into building these projects. You'll learn the fundamentals concepts of SwiftUI by working with views, layouts, and dynamic types. This SwiftUI book will also help you get hands-on with declarative programming for building apps that can run on multiple platforms. Throughout the book, you'll work on fun projects like building an NBA draft, a water tracker, ToDo movies, and plenty of other exciting apps that enable you to understand the core and important elements of a SwiftUI project.

By the end of the book, you'll have built fully functional projects for multiple platforms and gained the knowledge required to become a professional SwiftUI developer.

What you will learn

  • Understand the basics of SwiftUI by building an app with watchOS
  • Work with UI elements such as text, lists, and buttons
  • Explore SwiftUI's animation and 3D effect
  • Create a video player in UIKit and import it into SwiftUI
  • Discover how to leverage an API and parse JSON in your app
  • Structure your app to use Combine and state-driven features
  • Explore Model-View-ViewModel (MVVM) design patterns by building sports news apps for iPad

Who This Book Is For

The book is for mobile developers who want to build powerful UIs for multiple platforms including iOS, iPadOS, and watchOS with SwiftUI programming. The book assumes a basic understanding of Swift programming and iOS development.


Craig Clayton

Craig Clayton is a self-taught, senior iOS engineer at Adept Mobile, specializing in building mobile experiences for NBA and NFL teams. He also volunteered as the organizer of the Suncoast iOS meetup group in the Tampa/St. Petersburg area for 3 years, preparing presentations and hands-on talks for this group and other groups in the community. He has also launched Cocoa Academy online, which specializes in bringing a diverse list of iOS courses, ranging from building apps to games for all programming levels, to the market.


Table of Contents

  1. SwiftUI Basics
  2. SwiftUI Watch Tour
  3. NBA Draft - Watch App
  4. Car Order Form - Design
  5. Car Order Form - Data
  6. Financial App - Design
  7. Financial App - Core Data
  8. Shoe Point of Sale System - Design
  9. Shoe Point of Sale System - CloudKit
  10. Sports News App - Design
  11. Sports News App - Data