Posts

Post not yet marked as solved
4 Replies
2.0k Views
I want to save the value from the "points" key from a dictionary called myInfo in myPoints variable so I can use it in another function. I have been trying to cast it as Int, but the value when printed out is always 0. Meanwhile, if I just print out temp, it prints the value out correctly.result with print(type(of: temp)) is Optional< Any >
Posted Last updated
.