Skip to content

waynemillerd/Swift-CoreData

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift & Core Data

I wrote this very simple Core Data application to learn how Swift handles and integrates with some core concepts/tools:

  • Singletons, even if they're smelly
  • Core Data stack
  • NSFetchedResultsController

One of the most important things that took me forever to figure out is that you have to namespace your model class in the .xcdatamodel. This was undocumented. Huge thanks to Andrew Ebling for pointing me in the right direction.

If anyone has any tweaks or improvements, please send some pull requests. I'd love to see what you come up with.

As always, please feel free to reach out on Twitter.

About

An extremely simple Core Data backed Swift app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published