You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// MARK: - AutoRealmConvertible for Enums (RealmOptional or List are not supported yet)
{% for type in types.implementing.AutoRealmConvertible %}
// MARK: - {{ type.name }} AutoRealmConvertible
extension {{ type.name }}: RealmConvertible {
{{ type.accessLevel }} var allProperties: [String: Any?] {
return [
{% for variable in type.storedVariables where variable.readAccess != "private" and variable.readAccess != "fileprivate" %}"{{ variable.name }}": {{ variable.name }},
{% endfor %}
]
}
}
{% endfor %}
You would get auto generated source code like this.
// MARK: - AutoRealmConvertible for Enums (RealmOptional or List are not supported yet)
// MARK: - DownloadMedia AutoRealmConvertible
extensionDownloadMedia:RealmConvertible{internalvarallProperties:[String:Any?]{return["id": id,"title": title,"url": url,"downloadedPath": downloadedPath,]}}
This is just my case. @ikesyo have any other options?
Hello! thanks for great tool. Please, add description for mapping to realm Object
The text was updated successfully, but these errors were encountered: