Unlimited WordPress themes, graphics, videos & courses! Unlimited asset downloads! From $16.50/m
127571 adam noonan thumbnail code an ios app 01 400x277px 092017
  • Overview
  • Transcript

3.1 Introducing a Repository

Whenever you are dealing with storing data in your app, you want to be sure that you are doing your best not to mix up data access logic with your business/application logic. This is one of the biggest problems that can make an app difficult to maintain. In this lesson, I'll show you an example of how to abstract the Realm-specific code into a special data access class referred to as a "repository".