Posts by Samim

Author Biographical Info: Not available

Rearrange rows in a list in SwiftUI

By Samim

In this tutorial, we will see how to rearrange rows in a list in SwiftUI. Row movement within a list is simple with SwiftUI for iOS 16.0 or later, but older iOS versions require a .... Read More

Scroll to a specific row in a list in SwiftUI

By Samim

In this tutorial, we will see how to scroll to a specific row in a list in SwiftUI. In SwiftUI, scrolling to a particular row in a List can be achieved using the ScrollViewReader. .... Read More

Delete rows from a List using onDelete in SwiftUI

By Samim

In this tutorial, we will see how to delete rows from a List using the onDelete() modifier in SwiftUI. SwiftUI provides us a onDelete() modifier to control how objects should be de.... Read More

Dynamically adjust the color of an SF Symbol in SwiftUI

By Samim

In this tutorial, we will see how to dynamically adjust the color of an SF Symbol in SwiftUI. We can use SF Symbol to display icons in our app in SwiftUI. SF Symbols are a set of i.... Read More

How to take action when the user submits a TextField in SwiftUI

By Samim

In this tutorial, we will see how to take action when the user submits a TextField in SwiftUI. We can use the .onSubmit modifier to take action when a user submits a TextField. Thi.... Read More

Disable autocorrect in a TextField in SwiftUI

By Samim

In this tutorial, we will see how to disable autocorrect in a TextField in SwiftUI. Autocorrect is a built-in feature that automatically suggests and corrects words as users type. .... Read More

Adjust List row separator visibility and color in SwiftUI

By Samim

In this tutorial, we will see how to adjust the List row separator visibility and color in SwiftUI. We can adjust the separator visibility and color for a List by using the listRow.... Read More

Animate text color in SwiftUI

By Samim

In this tutorial, we will see how to animate a text color in SwiftUI. We can animate the text color using the foregroundColor() modifier in various ways. Here are an example below .... Read More