ios - Saving in game progress -


i've working on game in swift ios 8 in xcode 6 , need advice on how save in-game progress. when close out app, , restart again, want game remember left off, rather starting way @ beginning each time open it. how can this. game center? external files?

it seems nsuserdefaults work you. easiest way save small amount of data between sessions. nsdata, nsstring, nsnumber, nsdate, nsarray , nsdictionary supported.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -