Published: October 2020
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.
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.
You need a Mac running the latest version of Xcode.
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.
Published: October 2020