Commit ef5761b7 authored by Eyad Hasan's avatar Eyad Hasan
Browse files

I removed all the realm stuff I did earlier, because I messed up some...

I removed all the realm stuff I did earlier, because I messed up some important things, and I think there is a better way for me to do this now.
parent 41c38c5a
...@@ -7,16 +7,6 @@ import RealmSwift ...@@ -7,16 +7,6 @@ import RealmSwift
// //
class OpenTimes: Object{
dynamic var endDay = 0
dynamic var endTime = NSDate()
dynamic var id = 0
dynamic var lastModified = NSDate()
dynamic var schedule = 0
dynamic var startDay = 0
dynamic var startTime = 0
dynamic var dining: Dining!
}
struct OpenTimes: CreatableFromJSON { // TODO: Rename this struct struct OpenTimes: CreatableFromJSON { // TODO: Rename this struct
let endDay: Int let endDay: Int
let endTime: Date let endTime: Date
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment