Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample Swift CoreData Class
import CoreData
class SampleClass : NSManagedObject {
@NSManaged var name : NSString
@NSManaged var description : NSString
@NSManaged var trueFalseFlag : NSNumber
@NSManaged var location : AnyObject
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment