Most voted "swiftui" questions
Swiftui is Apple’s declarative API for defining graphical interfaces. Use this tag for questions about Swiftui on any platforms.
Learn more…3 questions
Sort by count of
-
1
votes1
answer42
viewsHow to show a View depending on a condition in Swiftui
In my project with swiftui I would like to present a view depending on the login status of my users. var body: some View { HStack() { HomeView() LoginView() } } HomeView should appear if the user is…
-
1
votes1
answer21
viewsActivity indicator in Swiftui
How do I display an activity indicator using Swiftui? I have a vague idea how to do this by introducing the UIActivityIndicatorView of UIKit using the function .overlay(overlay: ) but I wonder if…
-
0
votes0
answers23
viewsHow to limit the number of characters in Swiftui’s Textfield?
In the code below removeLast() works on "textField text: $teste", but, does not work in the "text: $addCollectionVM.name". The difference between them is that the first is @State and the second…