iOS Data Storage: How to save/read local data in App?

Various methods to store/read data in iOS App

Prafulla Singh


In this tutorial, We are going to learn ways to read, write, store data.


A simple understanding is the resource file package, which will organize many pictures, xibs, and text files together and package them into a Bundle file. A main bundle get packaged with App. There can be separate bundle for individual library used in app.

//Access the main bundle