How to Create an Animated Navigation Menu in SwiftUI Using matchedGeometryEffect
One reason why I really enjoy programming using the SwiftUI framework is that it makes so easy to animate view changes. In particular, the introduction of the matchedGeometryEffect modifier, introduced in iOS 14, further...
Displaying a Bottom Sheet in iOS 15 Using UISheetPresentationController
With the release of SwiftUI, some people have asked if UIKit is going to be dead. It’s far from dead. In iOS 15, Apple’s engineers continues to pour new features into UIKit. One of the highlights is...
How to Implement Search for SwiftUI List Using Searchable
Prior to iOS 15, SwiftUI didn’t come with a built-in modifier for handling search in List views. Developers have to create your own solution. We have written a tutorial showing you how to implement a search bar in SwiftUI...
Using AsyncImage in SwiftUI for Loading Images Asynchronously
In WWDC 2021, Apple announced tons of new features for the SwiftUI framework to make developers’ life easier. AsyncImage is definitely one of the new views, introduced in iOS 15, that is worth a mention. If your app needs...
SwiftUI for iOS 15: How to Add Swipe Actions and Hide Line Separators in List View
In WWDC 21, Apple introduced some of the most anticipated enhancements for List view in the SwiftUI framework. Prior to iOS 15, it is not very straightforward to hide line separators in a List view. We’ve shown you a...
Adding a Launch Screen in Swift Projects
A launch screen is the very first screen presented to users when your app starts up. When you create a new project with UIKit, Xcode automatically generates a storyboard file named LaunchScreen.storyboard for developers to design...
How to Record Videos and Animated Gifs in Xcode 12.5
With the release of Xcode 12.5, Apple finally lets developers record videos and animated GIF right from simulators. In this tutorial, I will walk you through this new feature. Please note that the latest version of Xcode requires...
Building 3D AR Apps Using Reality Composer and RealityKit
RealityKit was a new framework introduced in 2019 to implement high-performance 3D simulation and rendering. We’ve explored ARKit development for 3D objects using SceneKit. In this tutorial, we will see how to build an...
How to Hide Disclosure Indicator in SwiftUI List
SwiftUI has made it very easy for developers to create a list view, similar to a table view in UIKit. When working with table view in UIKit, you can easily configure a cell’s indicator by setting the accessoryType property....
How to Use ScrollViewReader to Perform Programmatic Scrolling
ScrollViewReader is one of my favorite new features in the new version of SwiftUI. Before the release of iOS 14, it’s not easy to control the scrolling position of the built-in ScrollView. If you want the scroll view to...