Group Group Group Group Group Group Group Group Group
raywenderlich.com Forums

How to Save your Game’s Data: Part 1/2

This tutorial will walk you through how to save your game data - locally on the device and also up in the cloud.


This is a companion discussion topic for the original entry at http://www.raywenderlich.com/63235/how-to-save-your-game-data-tutorial-part-1-of-2

I’m new to iOS development and it’s hard for me to understand objective-c syntax in some cases. So may I ask you to rewrite this tutorial in swift mode?

hey sorush, I’m not sure if this tutorial is scheduled for translation to swift but I’ll ping the update team for you :slight_smile: Marin

1 Like

I’m trying to wrap my head around how to save data for multiple users, as you mentioned would be much more complex. I’d like to have the app save game data records for every game played and for multiple users. Are there any RW tutorials or info giving me insight on how to do this the best way? Thanks!

I’ve written what I think is a Swift 3 version of the GameData class, but have run into a problem loading the stored data into a shared instance.

I’ve posted the code on stack overflow:

http://stackoverflow.com/questions/39944949/how-to-initialise-a-shared-instance-storing-game-data

Would it be possible for you to have a look it it?

Thanks

This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]