SwiftUI by Tutorials |

Related Articles

Build a flowing and engaging declarative user interface for your apps – using less code – with SwiftUI!

SwiftUI by Tutorials is designed to help you learn how to move from the “old way” of building your app’s UI interface, to the ‘new way’ of building a 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 to building their app’s user interface with modern, declarative code.

What is SwiftUI?

SwiftUI allows you to build better applications, faster and with less code. It’s a developer’s dream come true! With SwiftUI, you can design your user interfaces declaratively; Instead of developing app interfaces as necessary, by encoding all the logic of the app mode ahead of time, you can instead define what your app’s user interface is. Should Do in a certain situation and let the basic operating system understand how to do this. What’s more is that SwiftUI allows you to build a modern, responsive user interface 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 and natural language to describe your user interface and make it look amazing – no matter where your code works. In addition, SwiftUI’s built-in automated support for things like dark mode, localization and accessibility, along with Xcode 11 support for drag-and-drop design and instant preview make it easier to build apps than ever before.

How is this book different from SwiftUI Apprentice?

Our additional book on getting started with SwiftUI, SwiftUI Apprentice, is designed to teach new developers how to build iOS apps, using the SwiftUI-first approach. The purpose of this book is to teach you basic development methods while you build some fully functional apps and look great! this book, SwiftUI by Tutorials, Is designed for developers who have a solid background in iOS development, and are looking to make the leap from building apps with UIKit, to building apps with SwiftUI.

Before you start

This section tells you some things you need to know before you start, such as what you will need for hardware and software, where to find the project files for this book and more.

Section I: Dive into SwiftUI

Start your SwiftUI journey with the basics you need.

In this chapter, you will get an overview of the book as a whole, as well as the apps you will build while learning the basics of SwiftUI!

Get started with SwiftUI! Learn about the basic terminology and discover the power of building your interface directly in the preview canvas. Check out how SwiftUI makes declarative development easy and simple, and how you can drag and drop as you used to with design boards.

SwiftUI’s declarative style makes it easy to apply eye-catching designs. You can create reusable facilities to unify your design. In this chapter, you will implement a numerical Figma design for RGBullsEye.

We all know how important testing is in the development of modern applications. See how to apply a user interface test to your SwiftUI applications in this very simple yet powerful course.

Article II: SwiftUI Building Blocks

Based on what you learned in Section I to start using SwiftUI in more complex and advanced applications.

Learn how to add and configure various SwiftUI controls within your apps. Discover the changes in a practical way and how they can be shared between controls or used separately. Get acquainted with container views and how to use them with SwiftUI.

Learn about some of the main and most used controls in user interfaces such as TextFields, Buttons, Toggles, Sliders and Steppers, and how to use them with SwiftUI.

Learn the powerful capabilities of vertical and horizontal stacks. See how easy it is to apply them to your app layout and nest them to create almost any possible combination. Piles have come back stronger than before and will surely become a game changer in SwiftUI.

Article III: Status and data flow

Learn how your user interface responds to changes in data flow and situations.

Learn how to bind data to the user interface, develop responsive user interface updates through status management and in-depth use of SwiftUI-related features.

Learn how to bind data to the user interface, on responsive updates to the user interface through status management, and in-depth use of features related to SwiftUI.

In this chapter, you will expand your knowledge by learning more advanced input controls like calendar and color pickers. You will also know how to persevere with information with an app storage overview.

Learn how to enable interface updates, including how to easily test the SwiftUI interface, how to manage screen flow in a complex app, and how to deal with gestures, including the development of a custom gesture.

Learn how to navigate your app with VoiceOver on your iOS device and use the SwiftUI Accessibility API features to enhance your app’s accessible user interface. You will add labels that provide context to UI components and enhance VoiceOver information by rearranging, integrating, or ignoring descendant elements.

Section IV: Data Navigation and Viewing

Go through your app screens with SwiftUI and find out how to view data in them.

You will learn about different methods to allow your user to navigate between views in your app, create a navigation hierarchy and use navigation with tabs to display information.

Viewing data lists is a must in almost any app. Here you will learn how to deal with all kinds of lists in order to get the best out of them.

This chapter introduces additional features available for lists displayed in SwiftUI 3.0.

In this chapter, you will explore the new network functionality in SwiftUI and use it to create more flexible and complex layouts with less effort than using stacks.

Sometimes you may need to display (or not) a view depending on certain conditions. Think of an alert message, for example. You can use them to focus users’ attention and ask them for immediate feedback.

Section V: User Interface Extensions

Push your knowledge forward in SwiftUI with complex interfaces that embed custom animations and graphics.

Learn how to draw using paths, shapes and geometry. Follow me to design your elements.

Learn the basic concepts for animating views using SwiftUI. Learn how to apply animations for viewing transitions, how to animate changes in mode and how to integrate and chain these animations.

In this chapter you will learn how to develop more complex interfaces. Get out of your comfort zone and dive into more advanced concepts that will allow you to create almost any user interface you can imagine. You will learn the limitations you may find when developing advanced SwiftUI interfaces.

Section VI: SwiftUI for macOS

Learn how to implement everything you know about SwiftUI in macOS desktop applications.

Learn how to create a Docs-based Mac app. Learn how to handle different file types and how to use a variety of standard Mac UI components.

Start with an existing iOS app and learn how to reuse code, views and properties to create a macOS app. Find out what works as it is, and what you need to change for your Mac.



Please enter your comment!
Please enter your name here

Popular Articles