Posts by Samim

Author Biographical Info: Not available

Change the label color of a SwiftUI Toggle switch

By Samim

In this tutorial, we will see how to change the color of the label of a toggle switch in SwiftUI. We can simply change the label color of a TextField by applying the .foregroundCol.... Read More

Change color of the toggle in SwiftUI

By Samim

In this tutorial, we will see how to change the toggle switch color in SwiftUI. We can customize the color of a toggle in SwiftUI to make it look better, and match our app style. W.... Read More

Change TextField placeholder color in SwiftUI

By Samim

In this tutorial, we will see how to change the placeholder color of a TextField in SwiftUI. To change the color of the placeholder text in a SwiftUI TextField, instead of using th.... Read More

How to convert String to Double in Swift

By Samim

In this tutorial, we will see how to convert String to Double in Swift. A String is a sequence of characters, it can be numbers like “5.23” or “4.0”, letter.... Read More

Disable ScrollView bounce In SwiftUI

By Samim

In this tutorial, we will see how to disable ScrollView bounce in SwiftUI. The ScrollView has a bounce behavior by default. That means when we reach the edge of the ScrollView, it .... Read More

Change the background color of a list in SwiftUI

By Samim

In this tutorial, we will see how to change the background color of a list in SwiftUI. We can change the background color of a list by hiding the default background using the scrol.... Read More

Menu in SwiftUI

By Samim

In this tutorial, we will see how to create a Menu in SwiftUI. A menu is similar to a list of options we see in apps or websites. It can be a dropdown list that appears when we cli.... Read More

Select multiple options from a Menu in SwiftUI

By Samim

In this tutorial, we will see how to select multiple options from a Menu in SwiftUI. We can simply create a multi-selection menu that will let us select multiple options from a men.... Read More