Commit 3db60418 authored by Eyad Hasan's avatar Eyad Hasan
Browse files

Init functions

Had to add initializors to make xCode happy
parent 35f44450
......@@ -9,6 +9,11 @@ import RealmSwift
final class Facility: CreatableFromJSON {
/// Attempts to configure a new instance of the conforming type with values from a JSON dictionary.
init?(json: [String : Any]) {
dynamic var slug: String = ""
dynamic var name: String = ""
dynamic var location: Any?
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