Skip to content

Instantly share code, notes, and snippets.

@own2pwn
Created April 15, 2018 21:36
Show Gist options
  • Save own2pwn/2a9a3e4b385a2a9ad5a82ae28aa6c1f9 to your computer and use it in GitHub Desktop.
Save own2pwn/2a9a3e4b385a2a9ad5a82ae28aa6c1f9 to your computer and use it in GitHub Desktop.
public final class SpendModel: RealmModel {
// MARK: - Properties
@objc public dynamic var string = ""
// MARK: - Init
public convenience init(with string: String) {
self.init()
self.string = string
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment