So i have code like so
var item1Checked = true
var item2Checked = false
var array = ["item 1","item 2"]
and I want the app to store wether or not they have been check marked or not in NSUserDefaults. The array is already set up to be stored in the NSUserDefaults How would I accomplish this?
Aucun commentaire:
Enregistrer un commentaire