599 questions
If you use the following code when you want to transition with NavigationLink, you will get an error.Why?error messages:Cannot convert value of type 'String' to expected argument type'()->Label'Cur...
We are developing task applications using UserDefaults.I want to implement the All Deleted feature, which removes all TableView contents, and I want to empty the saveList of the variable that contains...
How should I use CoreData?Also, how do I save it?I checked, but what is the item?
struct ContentView:View { @State var color=false varbody:someView { List {…}.listBackground (color?.white:.black) Toggle (text, isOn:$color) }}does not change the color.I wonder if the writing meth...
List{Text (Text).listRowBackground (Color.black)}in The color does not change.
I'm a beginner studying Swift.I created a memo widget app by referring to YouTube videos.The feature is that when you type characters in the TextField in the app, the widget displays the characters yo...
In swiftuiTextEditor(text:$text).frame (width:.main.bounds.width*0.8, height:200)If so, Type 'CGFloat' has no member 'main' The alert appears.Before that, I had UISscreen.I also got an alert with UIKi...
In swiftuiTrying to instantiate TextEditorCannot use instance member '$text' with in property initializer; property initializers run before 'self' is available The alert appears.let textEditor=TextEdi...
When I try to add a bar item in swiftui, I get the following alert: 'navigationBarLeading' is unavailable in macOSI thought it was an update, but it didn't go away.Is the bar item marked differently?
When swiftui tries to navigate from ContentView to the side menu, SideMenuView (isOpen:$isOpenSideMenu)If you write Missing argument for parameter 'text' in calland Insert', text:<#Binding<Strin...
- 1 - | » |
© 2024 OneMinuteCode. All rights reserved.