Latest Xcode and SwiftUI Tutorials
Identifiable protocol in Swift and SwiftUI
Identifiable is a protocol in Swift that forces types to include a unique identifier property. This identifier helps…
How to create a List with text and images in SwiftUI
In the previous SwiftUI tutorial we saw how to create a table or List with SwiftUI. In this…
How to create a Table in SwiftUI
In UIKit, UITableView is one of the most common UI controls on iOS. If you have experience developing…
SwiftUI Animations: Explicit and Implicit Animations
Animations in SwiftUI are automatic and magical. You have to define two states of a view and SwiftUI…
What is @Binding in SwiftUI
Binding is one of several property wrappers that SwiftUI presents to us to control the flow of data…
What is @State in SwiftUI
State management is a crucial aspect of app development that every developer must address. Let’s consider that we…
How to create a button with gradient and shadow in SwiftUI
With SwiftUI, you can easily create a button with a gradient background. Not only can you define a…
How to create a button with Label view in SwiftUI
Label in SwiftUI is a view that allows us to have an icon and a text in the…
How to create a button with text and images in SwiftUI
In a project, you or your designer may want to display a button with an image. The syntax…
How to create a button in SwiftUI
A button is a fundamental UI control present in all applications, which has the ability to detect when…
What is the .minimumScaleFactor modifier for?
In SwiftUI you can use the .minimumScaleFactor modifier to automatically downscale text. For example: SwiftUI will automatically scale…
How to add vertical and horizontal ScrollView in SwiftUI
A scroll view is a scrollable component in SwiftUI. It is a container view that displays its content…