I am trying to create a game integrated to game center at the same time stores data to sqlite. I am using sqlite.swift for my sqlite functionalities. I need to submit a score to game center (scoring type-Integer) and that score is stored in my db with type Expression. Is there a way to typecast Expression to Int64 only? I tried doing this... gkScore.value = Int64(userQuery[overAllScore]) and this gkScore.value = (userQuery[overAllScore]) as Int64 but did not succeed.. :( Help please. Thanks
vendredi 10 juillet 2015
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire