Skip to content

Instantly share code, notes, and snippets.

View hwjeremy's full-sized avatar

Hugh Jeremy hwjeremy

View GitHub Profile
@hwjeremy
hwjeremy / createTransaction.swift
Last active July 19, 2018 03:56
Create a Transaction in Amatino Swift - A double-entry accounting library / framework for iOS & MacOS
// Amatino Swift: https://github.com/amatino-code/amatino-swift
// Double entry accounting API
import Foundation
import Amatino
try Transaction.create(
session: session,
entity: entity,
transactionTime: Date(),