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…
iOS & Swift
Chapter in SwiftUI by Tutorials
Sheets & Alert Views
Jun 14 2023 · Chapter
…remain on the task they initiated. It also provides a way for your app to provide critical information or request essential feedback. Starting in SwiftUI 3.0, Apple appears to be shifting the approach to these views. The initial versions of SwiftUI focused on the type of view to display…
iOS & Swift
Chapter in SwiftUI by Tutorials
Complex Interfaces
Jun 14 2023 · Chapter
…concepts that will allow you to generate almost any UI you can imagine. You’ll learn the limitations you may find while developing advanced SwiftUI interfaces…
iOS & Swift
Chapter in SwiftUI by Tutorials
Drawing & Custom Graphics
Jun 14 2023 · Chapter
…develop more complex apps, you’ll need more flexibility or flash than the built-in controls SwiftUI offers. Fortunately, SwiftUI provides a rich library to assist in creating graphics within your app. Graphics convey information to the user efficiently and understandably; for instance, you can augment text that takes time…
iOS & Swift
Chapter in SwiftUI by Tutorials
Lists
Jun 14 2023 · Chapter
…flights for a day and allowing the user to interact with this data. In this chapter, you’ll dive deeper into the ways SwiftUI provides you to show a list of items to the user of your app. Iterating Through Data Open the starter project for this chapter…
iOS & Swift
Chapter in SwiftUI by Tutorials
Animations
Jun 14 2023 · Chapter
Learn the basic concepts for animating views using SwiftUI. Learn how to apply animations to view transitions, how to animate state changes, and how to combine and chain those animations…
iOS & Swift
Chapter in SwiftUI by Tutorials
Intro to Controls: Text & Image
Jun 14 2023 · Chapter
Learn how to add and configure different SwiftUI controls within your apps. Discover modifiers in a practical way and how they can be shared across controls or used individually. Get an introduction to container views and how to use them with SwiftUI…
iOS & Swift
Chapter in SwiftUI by Tutorials
Advanced Lists
Jun 14 2023 · Chapter
This chapter shows you additional features available for lists introduced in SwiftUI…
iOS & Swift
Chapter in SwiftUI by Tutorials
Accessibility
Jun 14 2023 · Chapter
Learn how to navigate your app with VoiceOver on an iOS device and use the SwiftUI Accessibility API attributes to improve your app's accessible UI. You'll add labels that provide context for UI elements and improve VoiceOver information by reordering, combining or ignoring child elements…
iOS & Swift
Chapter in SwiftUI by Tutorials
View Transitions & Charts
Jun 14 2023 · Chapter
…button, the view appears, and the animations of the airplane shapes occur. The display of the view doesn’t show any animation. In SwiftUI, views use a subset of animation called view transitions. This chapter teaches you to apply animations to your app views. Animating View Transitions Note: Transitions sometimes…
iOS & Swift
Chapter in SwiftUI by Tutorials
Navigation
Jun 14 2023 · Chapter
…consistent way to move between views. You need to make it easy for the user to figure out how to perform a particular task. SwiftUI provides a unified interface to manage navigation while also displaying data. SwiftUI 4.0 introduced significant changes to navigation for SwiftUI apps. In this chapter…
iOS & Swift
Chapter in SwiftUI by Tutorials
State & Data Flow — Part I
Jun 14 2023 · Chapter
…bind data to the UI, develop reactive updates of the UI through state management, and in-depth usage of the attributes related to SwiftUI…
iOS & Swift
Chapter in SwiftUI by Tutorials
Controls & User Input
Jun 14 2023 · Chapter
…main and most used controls in user interfaces such as TextFields, Buttons, Toggles, Sliders and Steppers, and how to use them with SwiftUI…
iOS & Swift
Chapter in SwiftUI by Tutorials
Getting Started
Jun 14 2023 · Chapter
…started with SwiftUI! Learn about the basic terminology, and discover the power of building your interface directly in the preview canvas. Check how SwiftUI makes declarative development easy and straightforward, and how you can drag and drop as you used to do with storyboards…
iOS & Swift
Chapter in SwiftUI by Tutorials
Testing & Debugging
Jun 14 2023 · Chapter
…know how important testing is in modern application development. See how to apply UI Testing to your SwiftUI apps in this very simple, yet powerful course…
iOS & Swift
Chapter in SwiftUI by Tutorials
Grids
Jun 14 2023 · Chapter
…this chapter, you'll explore the new grid functionality in SwiftUI and use it to create more flexible and complex layouts with less effort than using stacks…
iOS & Swift
Chapter in SwiftUI by Tutorials
Diving Deeper Into SwiftUI
Jun 14 2023 · Chapter
SwiftUI's declarative style makes it easy to implement eye-catching designs. You can create reusable modifiers to unify your design. In this chapter, you'll implement a neumorphic Figma design for RGBullsEye and use GeometryReader to adjust UI element sizes to fit different screen sizes…
iOS & Swift
Chapter in SwiftUI by Tutorials
Introduction
Jun 14 2023 · Chapter
…overview of the book as a whole, as well as the apps you will be building as you learn the fundamentals of SwiftUI…
iOS & Swift
Chapter in SwiftUI by Tutorials
Building a Mac App
Jun 14 2023 · Chapter
…toolbar. The Default Document App Open Xcode and create a new project. Select macOS and choose Document App. Make sure the interface is SwiftUI and the language is Swift. Call the app MacMarkDown. Once you’ve saved the project, build and run the app. If no windows open, select…
iOS & Swift
Chapter in SwiftUI by Tutorials
Gestures
Jun 14 2023 · Chapter
Learn how to trigger updates on 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…