Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save isaac-weisberg/b31fcd00823461c4560b97f963de979d to your computer and use it in GitHub Desktop.

Select an option

Save isaac-weisberg/b31fcd00823461c4560b97f963de979d to your computer and use it in GitHub Desktop.

Revisions

  1. isaac-weisberg created this gist Apr 16, 2021.
    8 changes: 8 additions & 0 deletions SUSTransactionCellVM-BasicExtended.swift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    protocol TransactionCellViewModel {
    var icon: String { get }
    var name: String { get }
    var amount: NSDecimalNumber { get }

    // Added in the following updates
    var shouldShowAcceptButton: Bool { get }
    }