Shape Shape point chapter-list Group Group Group Group Group Shape Copy 12 Shape Shape Copy 3 Shape Shape dropdown editor editor Combined Shape grid Shape Copy 4 Shape Copy 7 Shape language language Shape megaphone paperback Shape platform noun_419259-2 copy play-icon BS-Question-Rounded-Circle quotes noun_610406 stacked-books-1 stacked-books-2 Group Group Group Group Group Group Group Group Group Path

SwiftUI by Tutorials

$59.99 4/5 25 reviews · Write a Review
  • Platform iOS 13
  • Language Swift 5.1
  • Editor Xcode 11

Build fluid and engaging declarative UI for your apps — using less code — with SwiftUI!

With SwiftUI, you can define what your app’s UI should do with concise, declarative language, and say goodbye to tons of confusing UIKit code.

Build modern, responsive UI and animations that look great on iOS, iPadOS, watchOS, tvOS or even macOS!

Developer Guide

Intermediate

For Intermediate Developers

Build fluid and engaging declarative UI for your apps — using less code — with SwiftUI!

SwiftUI by Tutorials is designed to help you learn how to transition from the "old way" of building your app UI with UIKit, to the "new way" of building responsive UI with modern declarative syntax with SwiftUI.

This book is for readers who are comfortable building Swift apps, and want to make the exciting leap into building their app UI with modern, declarative code.

What is SwiftUI?

SwiftUI lets you build better apps, faster, and with less code. It’s a developer’s dream come true!

With SwiftUI, you can design your user interfaces in a declarative way; instead of developing app interfaces in an imperative way, by coding all of the application state logic before time, you can instead define what your app’s UI should do in a particular state and let the underlying OS figure out how to do it.

What’s more is that SwiftUI lets you build modern, responsive UI and animations for all Apple devices — not just iOS. So whether you’re building apps for iOS, watchOS, tvOS or any other Apple platform, you can use the same concise, natural language to describe your UI and have it look stunning — no matter where your code runs.

In addition, SwiftUI’s built-in automatic support for things such as dark mode, localization and accessibility, along with Xcode 11 support for drag-and-drop design and instant preview makes it easier to build apps than ever before.

Table of Contents

Section I: Beginning SwiftUI

1.

Introduction - New

In this chapter, you'll get an overview of the book as a whole, as well as the apps you will be building as you learn the fundamentals of SwiftUI!

2.

Getting Started

In this chapter, you’ll work through a quick exercise to familiarize you with some of the new SwiftUI tools and concepts, like Canvas, Views and Previews.

3.

Understanding SwiftUI

This chapter presents an overview of SwiftUI features that can help you develop great apps faster. You’ll learn about declarative UI and declarative data dependencies, and create an ObservableObject from good old Foundation Timer.

4.

Integrating SwiftUI - New

The previous chapter showed one type of integration: how to create a data dependency on a "traditional" reference type. This chapter shows how easy it is to include a SwiftUI view in a UIKit app, and vice versa.

5.

The Apple Ecosystem - New

Check the differences between Apple´s platforms when dealing with SwiftUI. Learn how to focus on getting the best use of the device, its unique features and its way to handle input. Customize an app and update it for AppKit, UIKit, WatchKit, tvOS, iPadOS and Catalyst.

6.

Intro to Controls: Text & Image - New

In this chapter, you’ll learn about two of the most used controls, Text and Image, and how to customize them using modifiers.

7.

State & Data Flow - New

In this chapter, you'll learn binding data to the UI, reactive updates to the UI through state management, and an in-depth usage of the attributes introduced in the SwiftUI introduction.

8.

Controls & User Input - New

In this chapter you’ll learn about other controls, like TextField, Button, Toggle, Slider, Stepper and pickers.

9.

Introducing Stacks & Containers - New

In this chapter you’ll learn how to use container controls, such as stacks, GroupBox, Form and Group.

10.

Lists & Navigation - New

In this chapter you’ll learn how to display lists of items, and how to navigate between views.

Section II: Intermediate SwiftUI

10.

Testing & Debugging - New

In this chapter, you will learn about creating user interface tests and debugging your app.

12.

Handling User Input - New

This chapter will cover user updates of the interface, including how to easily test a SwiftUI interface, how to manage the flow of screens throughout a complex app, and how to deal with gestures, including the development of a custom gesture.

13.

Drawing Custom Graphics - New

In this chapter, you will learn how to create drawings and graphics in your app.

14.

Animations - New

In this chapter, you will learn how to use animations and view transitions in your app.

Section III: Advanced SwiftUI

15.

Complex Interfaces - New

In this chapter, you will learn how to use existing custom controls from SwiftUI and how to build complex interfaces in Swift.

Meet the Team

Average Rating

4 /5

Leave a review for this product

25 reviews

SwiftUI by Tutorials

Build fluid and engaging declarative UI for your apps — using less code — with SwiftUI!

With SwiftUI, you can define what your app’s UI should do with concise, declarative language, and say goodbye to tons of confusing UIKit code.

Build modern, responsive UI and animations that look great on iOS, iPadOS, watchOS, tvOS or even macOS!

Top