I loved your Explanation and everything works fine except One thing that, when I tried to Call my Entity name in my View Controller, it was not Accepting it. to solve this I followed the Following steps, Click on your app target (on the left pane its the top icon with the name of your app) then go to the ‘Build Phases’ tab then on ‘Link Binary With Libraries’, click the little ‘+’ at the bottom then find ‘CoreData.framework’ and add it to your project. This Worked for me.Not sure if it was necessary to add.? Thanks.

)

    Abhirajsinh Thakore

    Written by