SwiftUI is a modern way to declare user interfaces for any Apple platform. Create beautiful, dynamic apps faster than ever before.
- Creating and Combining Views
- Section 1: Create a New Project and Explore the Canvas
- Section 2: : the Text View
- Section 3: Combine Views Using Stacks
- Section 4: Create a Custom Image View
- Section 5: Use UIKit and SwiftUI Views Together
- Section 6: Compose the Detail View
- Building Lists and Navigation
- Section 1: Get to Know the Sample Data
- Section 2: Create the Row View
- Section 3: Customize the Row Preview
- Section 4: Create the List of Landmarks
- Section 5: Make the List Dynamic
- Section 6: Set Up Navigation Between List and Detail
- Section 7: Pass Data into Child Views
- Section 8: Generating Previews Dynamically
- Handling User Input
- Section 1: Mark the User’s Favorite Landmarks
- Section 2: Filter the List View
- Section 3: Add a Control to Toggle the State
- Section 4: Use an Observable Object for Storage
- Section 5: Adopt the Model Object in Your Views
- Section 6: Create a Favorite Button for Each Landmark
- Drawing Paths and Shapes
- Section 1: Create a Badge View
- Section 2: Draw the Badge Background
- Section 3: Draw the Badge Symbol
- Section 4: Combine the Badge Foreground and Background
- Animating Views and Transitions
- Section 1: Add Animations to Individual Views
- Section 2: Animate the Effects of State Changes
- Section 3: Customize View Transitions
- Section 4: Compose Animations for Complex Effects
- Composing Complex Interfaces
- Section 1: Add a Home View
- Section 2: Create a Categories List
- Section 3: Add Rows of Landmarks
- Section 4: Compose the Home View
- Section 5: Add Navigation Between Sections
- Working with UI Controls
- Section 1: Display a User Profile
- Section 2: Add an Edit Mode
- Section 3: Define the Profile Editor
- Section 4: Delay Edit Propagation
- Interfacing with UIKit
- Section 1: Create View to Represent a UIPageViewController
- Section 2: Create the View Controller's Data Source
- Section 3: Track the Page in a SwiftUI View’s State
- Section 4: Add a Custom Page Control
- Creating a watchOS App
- Section 1: Add a watchOS Target
- Section 2: Share Files Between Targets
- Section 3: Create the Detail View
- Section 4: Add the watchOS Map View
- Section 5: Create a Cross-Platform List View
- Section 6: Add the Landmarks List
- Section 7: Create a Custom Notification Interface
- Creating a macOS App
- Section 1: Add a macOS Target to the Project
- Section 2: Share Data and Assets
- Section 3: Create a Row View
- Section 4: Assemble Rows into a List
- Section 5: Create a Filter to Manage the List
- Section 6: Combine the List and Filter Views
- Section 7: Prepare the Circle Image for Reuse
- Section 8: Extend the Map View for macOS
- Section 9: Build the Detail View
- Section 10: Combine the Master and Detail Views