Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-ios
Commits
3db60418
Commit
3db60418
authored
Aug 30, 2017
by
Eyad Hasan
Browse files
Init functions
Had to add initializors to make xCode happy
parent
35f44450
Changes
1
Hide whitespace changes
Inline
Side-by-side
WhatsOpen/WhatsOpen/Object Model/examplejson.swift
View file @
3db60418
...
...
@@ -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
])
{
<
#
code
#
>
}
dynamic
var
slug
:
String
=
""
dynamic
var
name
:
String
=
""
dynamic
var
location
:
Any
?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment