Skip to content

Instantly share code, notes, and snippets.

@own2pwn
Created April 15, 2018 21:36
Show Gist options
  • Select an option

  • Save own2pwn/2a9a3e4b385a2a9ad5a82ae28aa6c1f9 to your computer and use it in GitHub Desktop.

Select an option

Save own2pwn/2a9a3e4b385a2a9ad5a82ae28aa6c1f9 to your computer and use it in GitHub Desktop.

Revisions

  1. own2pwn created this gist Apr 15, 2018.
    12 changes: 12 additions & 0 deletions SpendModel.swift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    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
    }
    }