Posts by Samim

Author Biographical Info: Not available

Disable swipe down to dismiss Sheet in SwiftUI

By Samim

In this tutorial, we will see how to disable swipe down to dismiss sheet in SwiftUI. The SwiftUI sheet view can be dismissed by swiping it down by default. So, if we want to preven.... Read More

Read text from a TextField in SwiftUI

By Samim

In this tutorial, we will see how to read text from a TextField in SwiftUI. In SwiftUI, text input from a TextField can be managed by binding it to a @State property. This binding .... Read More

Change font color of a TextField in SwiftUI

By Samim

In this tutorial, we will see how to change the font color of a TextField in SwiftUI. This article will cover the topics mentioned below. Changing Font Color in TextField Change Cu.... Read More

Add label to a TextField in SwiftUI

By Samim

In this tutorial, we will see how to add a label to a TextField in SwiftUI. We can organize the label and TextField in different orientations, either vertically or horizontally usi.... Read More

Change the background color of a TextField in SwiftUI

By Samim

In this tutorial, we will see how to change the background color of a TextField in SwiftUI. We can change the background color of a TextField in SwiftUI in several ways. Now, follo.... Read More

Create TextField in SwiftUI

By Samim

In this tutorial, we will see how to create a TextField and add border and padding to the text field in SwiftUI. A TextField is a view in SwiftUI that is used to generate a text in.... Read More

Let user search items from a List in SwiftUI

By Samim

In this tutorial, we will see how to let users search items from a List in SwiftUI. We can create a simple search functionality for a list in SwiftUI using the List and TextField c.... Read More

Clear a TextField on button tap in SwiftUI

By Samim

In this tutorial, how to clear a TextField on a button tap in SwiftUI. We can programmatically clear or empty a TextField on a button tap by modifying the value bound to the TextFi.... Read More