Posts by Samim
Author Biographical Info: Not available
In this tutorial, we will know about @ObservedObject and friends in SwiftUI. In SwiftUI, the @ObservedObject is a property wrapper for observing changes to objects according to the.... Read More
In this tutorial, we will see how to find the last Saturday of a month in Swift, that means I will print the date of the last Saturday. First of all, to get any day of the month we.... Read More
In this tutorial, we will see how to create a custom segment control in SwiftUI. A segment control is like a row of buttons or tabs that lets us pick from different options. We hav.... Read More
In this tutorial, we will see how to create a share sheet in SwiftUI. The share sheet is like a menu that pops up on our phone or computer when we want to share something. Suppose .... Read More
In this tutorial, we will see how to get the current scroll position of a SwiftUI ScrollView. We can use the ScrollView to create a scroll view and the onChange modifier within the.... Read More
In this tutorial, we will see how to navigate to another view on a button click in SwiftUI. We can navigate to another view on button click by using the NavigationView and Navigati.... Read More
In this tutorial, we will see how we can create a TextField that only accepts numbers as input in SwiftUI. We can make a TextField accept only numbers by using the onChange() modif.... Read More
In this tutorial, we will see how to disable TextField in SwiftUI. A disabled TextField is useful when we don’t want users to change its text. This is helpful for showing inf.... Read More