Using Version 8.1 of Xcode.
Create an entity named \"MapRegionObject\" in .xcdatamodeld file.
Using auto code generator, click Editor on the navigation bar -
I found this post is very useful for my question.
What’s new in Core Data Swift 3.0
How to Use Core Data in iOS 10 (Swift 3)