¡@

Home 

2014/10/15 ¤U¤È 10:12:44

iphone Programming Glossary: playfield

Clear MKMapView's cache of tiles?

http://stackoverflow.com/questions/1917257/clear-mkmapviews-cache-of-tiles

MKMapView's cache of tiles I'm working on an iPhone game that uses an MKMapView as the playfield. After only a couple of minutes of play the app inevitably starts to get sluggish and eventually crashes due to low memory...

Possible to save an integer array using NSUserDefaults on iPhone?

http://stackoverflow.com/questions/350848/possible-to-save-an-integer-array-using-nsuserdefaults-on-iphone

it possible to save an integer array using NSUserDefaults on the iPhone I have an array declared in my .h file as int playfield 9 11 that gets filled with integers from a file and determines the layout of a game playfield. I want to be able to have.. in my .h file as int playfield 9 11 that gets filled with integers from a file and determines the layout of a game playfield. I want to be able to have several save slots where users can save their games. If I do NSUserDefaults prefs NSUserDefaults.. where users can save their games. If I do NSUserDefaults prefs NSUserDefaults standardUserDefaults prefs setObject playfield forKey @ slot1Save I get a pointer error. If it's possible to save an integer array what's the best way to do so and then..