Created
November 10, 2015 03:42
-
-
Save igroomgrim/20715efe2028acf86089 to your computer and use it in GitHub Desktop.
Realm Object - TDTask model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import RealmSwift | |
class TDTask: Object { | |
dynamic var title: String = "" | |
dynamic var taskDescription: String = "" | |
dynamic var done: Bool = false | |
dynamic var created: NSTimeInterval = NSDate().timeIntervalSince1970 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment