About This Title

Pages: 419
Published: October 2020
ISBN: 9781944994006
In Print

A SwiftUI Kickstart

Introducing the SwiftUI User Interface Framework

by Daniel H Steinberg

This is one of those moments where everything changes. SwiftUI is the future for developers targeting Apple platforms and A SwiftUI Kickstart is designed to quickly get experienced Swift developers up and running with clear code-along examples.

Whether you are developing for iOS, macOS, iPadOS, WatchOS, or all of them at once, SwiftUI forces you to rethink how to create your UI and how to communicate and respond to changes in state in different nooks and crannies of your app.

This book has been updated for the Pragmatic Programmers to include the latest version of SwiftUI targeting Xcode 12 and iOS 14 all of which were released just weeks ago.


This work was written and produced entirely by the author. We are proud to be distributing it.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $30.00 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal


SwiftUI takes advantage of the best of the Swift Programming language to allow you to build complicated interfaces from lightweight, composable, modifiable, and disposable views such as Text, Image, and Shapes.

This book shows you how to get the most out of these fundamental building blocks and the components you’ll use to compose them including VStack, HStack, ZStack, and GeometryReader.

You’ll accept user input from Buttons, TextFields, Pickers, and Sliders and then flow the data through your app using ordinary properties, State, Bindings, ObservedObjects, StateObjects and EnvironmentObjects.

You’ll fit a ton of information onto a screen using ScrollViews, Lists, and Grids as well as Expanding Lists and DisclosureGroups. One screen is never enough so you’ll build navigation into your apps using Sheets, TabViews, and NavigationViews.

A SwiftUI Kickstart introduces you to the light-weight, value-typed, declarative world of SwiftUI.

What You Need

You need a Mac running the latest version of Xcode.

Source code, Errata, Typos, Suggestions

Resources

Releases:

  • P1.2 2021/11/16
  • P1.0 2020/10/12

Contents & Extracts

  • Let’s Get Started excerpt
    • Hello, World!
    • Previews
    • ContentView
    • Links and Credits
    • Version History
    • Road Map
  • Create, Configure, and Layout
    • Value Types
    • Views
    • Some
    • ViewBuilders
    • Stack Views
    • Positioning Views
    • Modifying Views
    • Result Builders
    • Generics in Result Builders
    • Advanced Result Builders
  • Call to Action
    • Buttons
    • State
    • Properties
    • View Modifiers
    • Closures
    • Bindings excerpt
    • Creating Bindings
    • Observable Objects
    • Property Wrappers
  • Lists and Grids
    • Labels
    • ForEach
    • Scrolling
    • Lists
    • Grids excerpt
    • DisclosureGroups
    • Expanding Lists
  • Navigation and App Data Flow
    • Tab Views
    • Text Input
    • Policies
    • Sheets
    • The Environment
    • Observed Objects
    • Navigation Views
    • Navigation Links
    • Page Tab Views
  • Making it nicer
    • Lifecycle and App Storage
    • Shapes
    • ZStacks
    • Size and placement
    • GeometryReader
    • Path
    • What’s next?

Author

Daniel H Steinberg is the author of more than a dozen books including the best selling books A Functional Programming Kickstart, A Swift Kickstart, Second Edition and Dear Elena. He has written apps for the iPhone and the iPad since the SDKs first appeared and has written programs for the Mac all the way back to System 7.

Daniel presents iOS, Functional Programming, SwiftUI, and Swift training and consults through his company Dim Sum Thinking. When he’s not coding or talking about coding for the Mac, the iPhone, and the iPad he’s probably cooking, baking bread, or hanging out with friends. Details on his training and speaking are on the Dim Sum Thinking website.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $30.00 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal

Related Titles:

About This Title

Pages: 419
Published: October 2020
ISBN: 9781944994006
Edition: 1
In Print