CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over ten thousand libraries and can help you scale your projects elegantly.
Lets create a CocoaPod
Open your terminal and follow the steps:
Technology Makes A Wonderful World
Lets take a brief idea about how to use core data with swift language.
It will create the basic methods of core data in to the AppDelegate.swift
It will be look like as follows :