Skip to content

Instantly share code, notes, and snippets.

@LeeKahSeng
Created February 15, 2018 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeeKahSeng/30fc260ab357a87885fd020766c0ea7b to your computer and use it in GitHub Desktop.
Save LeeKahSeng/30fc260ab357a87885fd020766c0ea7b to your computer and use it in GitHub Desktop.
import Foundation
import CoreData
extension TestEntity {
@nonobjc public class func fetchRequest() -> NSFetchRequest<TestEntity> {
return NSFetchRequest<TestEntity>(entityName: "TestEntity")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment