...In this SwiftUI tutorial, I’ll demonstrate the basics of this new UI Framework! You're going to get a sneak preview of exactly how Swift UI works as we build a demo project step by step.
This week, I want to talk about one of the most powerful Xcode features, SwiftUI previews. SwiftUI previews allow you to look at your SwiftUI views inside Xcode without running the app in the simulator. You can also preview UIKit views and controllers by wrapping them in SwiftUI. Today we will learn about all the powerful features of previews in Xcode.
Learn how to build more complex user interfaces with SwiftUI.
Lots and lots of interesting applications you can build with SwiftUI, including some very complex layouts that can be achieved with just a couple of widgets. Let's dive into construction of a dynamic list of Users, along with constructing HStack and VStack elements for our rows.
One of my favorite features of SwiftUI is styling. I love the idea of style protocols provided by every view and sharing them using the environment. I have already covered most of the style protocols for SwiftUI provided views in my previous posts. But what about custom views? This week we will learn how to share styling using environment for our custom views.
...I went ahead and built out UI that is very similar to apps on the AppStore today. Namely, a layout that has a horizontal header with a vertical list below it. Let's see how to mock this out today.
We often underestimate the power of simple things. The same feelings I had during the first usage of Label view in SwiftUI. It looks straightforward, but it hides many use cases where it works great. Today we will talk about the Label view and its customization capabilities.
SwiftUIKit adds extra functionality to SwiftUI, like extensions to existing types and completely new views, pickers, utilites, services etc. SwiftUIKit is divided into these areas: Blurs, Cameras, Data, Extensions, Gestures, Navigation, Pickers, Presentation, Sharing, Styles Views