#author("2017-01-16T13:49:44+09:00","default:wikiwriter","wikiwriter") [[Swift]] &tag(Swift/設定の保存); *目次 [#p7976ea8] #contents *関連ページ [#d745d10d] -[[Swift]] *参考情報 [#s907be9d] *基本 [#o1027256] -[[NSUserDefaults Wrapper in swift:https://gist.github.com/fwhenin/b770228a982230bd8690]] -[[NSUserDefaultsにプロパティで値を保存・取得するSwiftラッパークラス | EasyRamble:http://easyramble.com/nsuserdefaults-wrapper-property-class.html]] -セキュリティを無視して良い場合はNSUserDefaultsを使用するのが簡単。 -クラスプロパティを使用する。 -セキュリティが必要な場合は、[[kishikawakatsumi/KeychainAccess: Simple Swift wrapper for Keychain that works on iOS and OS X:https://github.com/kishikawakatsumi/KeychainAccess]]を使うと便利。