Timo Martinson
Explore posts from serversWarning: NULL literal or a possible NULL value is being converted to a non-nullable type.
Ladies and gentlemen,
I am confronted with a new type of warning, that I would like to understand.
What should I do?
This is the code:
This is the message:
NULL literal or a possible NULL value is being converted to a non-nullable type
8 replies
TSDThe Swift Den
•Created by Timo Martinson on 1/5/2024 in #swift-development
how to randomly display data in SwiftUI?
typical use case for flash cards...
I have shelves that contain boxes that contain cards. i want to randomly select a card from a box and display its data (front) and accept user input (right or wrong) and increment
card.level
if user selects "right" or decrement if he/she selects "wrong", after he/she has seen the back of the card.
How to approach this use case?
Have a nice day, and thank you!4 replies
DTDrizzle Team
•Created by Timo Martinson on 11/24/2023 in #help
Where to get the types from?
I want to use the types of my schema parts. How can I include them?
Thanks!!!
2 replies