title: How to decide what to use [Sqlite, Realm, CoreData, User-default, JSON file] to store data iOS?
body: <p>After searching everywhere I found there is no properer comparison between SQLite, Realm, CoreData, UserDefaults, and JSON file.</p>
  
  <p>You can find pros and cons easily but it's hard to know what to use.</p>
  
  <p>I know the decision is totally dependent on the requirements. But still there must be a way to make decision.</p>
  
  <p>Assuming the following cases, which options are best for individual and why?</p>
  
  <ol>
  <li>Saving user watched history [Huge amount of data, Only insert, and delete operation]</li>
  <li>Saving contact numbers [Max 1000 numbers, Need fast fetch, and continuous operation]</li>
  <li>Saving simple GET API request [Use for caching]</li>
  </ol>
  
  <p>Note: I am not talking about storing sensitive information here. </p>
  
  <p>Feel free to add/update more relevant cases.</p>