Post

Replies

Boosts

Views

Activity

Reply to Dynamic List
There should be a button for the user to ask to add a card. This would append a card to an array of cards And the List uses this array as data source for display. See more details (replace students by your flashCards array. https://stackoverflow.com/questions/56654877/how-to-show-list-of-views-from-a-datasource-like-uitableview-in-swiftui
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’21
Reply to Math Problem, entering an answer
Could you print values of ranA, ranB and answer ? Please report and tell what you entered in the textField @IBAction func btncheckAnswer(_ sender: Any) { print("randomA", ranA, "randomB", ranB, "answer", answer, "text", youAnswer.text) if ranA + ranB == answer { correctAnswer() } else { wrongAnswer() } }
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’21
Reply to Weird debugger issue
Are you sure the x you see in debugger is the x of the if statement ? May be you have declared x twice in code. Could you show more code ? Or the value you get in debugger is not captured at the same time as the one in if. Before entering 424 for x, did you enter a value over 15000 just before ? And the update of x from textField not done when test occurs ?
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’21
Reply to iOS Bug: Frequently unable to change from main phase to attack phase by clicking the turn button during draft games.
Why do you conclude it is an iOS bug ? Could well be an app problem. In any case, this is not a question for the developers forum. So, please go to the app developer to ask question and don't forget to close the thread. PS: Apparently you are very new to the forum. Welcome so. But please note that it is not a good practice on the forum to complain for not getting answer. Everyone here is helping on voluntary basis.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’21