Swiftでファイル操作をするにはNSFileManagerを利用するのが一般的です。iOSでデータを永続化する方法は、NSUserDefaultsやCoreDataがありますが、一時的に/tmpや/Library/Cachesに保存する場合、アプリ内領域に保存するためにはNSFileManagerを使います。 NSFileManagerによるデータの永続化 iOS Storage Guidlineによると、 Only documents and other data that is user-generated, or that cannot otherwise be recreated by your application, should be stored in the /Documents directory and will be automatically backed up
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く