Data Storage in iOS
By J.D. Gauchat
- Release Date: 2018-01-01
- Genre: Programming
Description
Learn how to store data in a device from an iOS application. After reading this guide, you will know how to store user's settings, how to create and manage files, and how to encode and decode content to store structured data on files.
Table of Contents
STORAGE
User Preferences
User Defaults
Files
File Manager
URLs and Paths
Files and Directories
Files Attributes
Files Content
Bundle
Archiving
Encoding and Decoding
Real-Life Application
QUICK REFERENCE
UserDefaults
FileManager
URL
String
Bundle
NSKeyedArchiver
NSKeyedUnarchiver
PropertyListEncoder
PropertyListDecoder
This guide assumes that you have a basic knowledge of app development, Xcode, and the Swift language. You should also know how to create and display Table Views. If you don't know how to program in Swift, how to work with Table Views, or how to create an application with Xcode, download our guides Introduction to Swift, Table Views and Collection Views, and Interface Builder. For a complete course on app development for iOS, read our book iOS Apps for Masterminds.
This guide is a collection of excerpts from the book iOS Apps for Masterminds. The information included in this guide will help you understand a particular aspect of app development in iOS, but it will not teach you everything you need to know to develop an app for Apple devices. If you need a complete course on app development for iOS, read our book iOS Apps for Masterminds. For more information, visit our website at www.formasterminds.com.