Skip to content

Instantly share code, notes, and snippets.

@blsage
Created October 20, 2020 17:50
Show Gist options
  • Select an option

  • Save blsage/58f73fc51c028779cae035eae829ceaf to your computer and use it in GitHub Desktop.

Select an option

Save blsage/58f73fc51c028779cae035eae829ceaf to your computer and use it in GitHub Desktop.

Revisions

  1. Benjamin Sage created this gist Oct 20, 2020.
    10 changes: 10 additions & 0 deletions iPaymentButton-Main.swift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    import SwiftUI
    import iPaymentButton

    struct ContentView: View {
    var body: some View {
    iPaymentButton(action: {
    // Add your custom payment code here
    })
    }
    }