I know I need to bind my varaible for unwrap but the problem is my value is not reconized but present.
This is my code :
surveyW.karmaWin = Int(endedSurvey["karma"].string!)
endedSurvey
is a array dictionary of my JSON
backend. I get a Unexpectedly found nil while unwrapping an Optional value
error.
I specify that I force the unwrapping to show you my problem.
The problem is my array contains the karma
value. I show you the screen of the value:
So we can see that the value existing. Why I get a Unexpectedly found nil...
?