I'm trying to make a NSUserDefault variable that stores integer values here is my code right now.
NSUserDefaults.standardUserDefaults().setObject(0, forKey: "HighScore")
When I input a number as an original value, it identifies it as UInt8 not just an Int. How do I change this?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With