Blog Posts

Author: Ravi Kumar

Understanding Maps : MKDirections API

MKDirections API In a recent app, I had to work on routes and directions between user current location and a destination location. In the process, I tried my hands on MKDirections API, Google Directions API and Here Maps API. Each of these APIs has its own merits and demerits. In this series, I will cover […]

Core Data: Entity Relationships

Core Data Entity Relationships In my previous article Core Data: CRUD Operations, we learned about Core Data CRUD operations i.e. how to add, edit, delete and read data from entities. In this article, we will learn about the relationship between entities i.e. how the records of ‘one entity’ are related to the records of ‘another […]

Core Data : CRUD Operations

Core Data CRUD Operations In the previous article Core Data : Managed Object Model, we learned about Managed Object Model, how to create entities, their attributes, and relationship between entities. In this article, we will learn the CRUD operations i.e. Create, Read, Update and Delete records from the Core Data Entity. We will use the […]

Core Data : Managed Object Model

What is the Managed Object Model? Managed Object Model is used to manage the schema of the CoreData. When we use Coredata in our applications then Xcode creates a file with extension .xcdatamodeld. In our case, it is Blogger.xcdatamodeld file. This file is used to create core data schema. Coredata schema defines various entities, attributes […]

Core Data: Core Data Stack in Swift

CoreData is an Apple Framework for app data management. CoreData is available for iOS, macOS, watchOS and tvOS. It is used to persist app data for offline app usage. It manages data in the form of object graph. It manages large amount of data in very efficient way then other techniques of storing data e.g. Standard Defaults, Keychains etc.