Create a Settings Bundle for iOS with Swift
Here are some quick little code tips for creating a settings bundle in Swift for iOS. Settings are very easy to setup for iOS. Just note that the simulator currently does not work with settings correctly. The code in this post does work just fine on a device. Load the Defaults into the Settings: let appDefaults = [SettingsKeys.namePreferenceKey: “Default Name”] NSUserDefaults.standardUserDefaults().registerDefaults(appDefaults) Get the Settings value: var namePreference = NSUserDefaults.standardUserDefaults().stringForKey(SettingsKeys.namePreferenceKey) Save…
Read more...Game App Developer Network
Some of you may have noticed that gameappdev.com is currently being redirected to this site. This is due to the massive about of spam the site received and had to be temporarily taken down. We are currently working on a new version of the site to be release soon. We are going to try and eliminate the spammers but keep open the network to all game app developers. Our goal…
Read more...