Skip to content

Instantly share code, notes, and snippets.

@hwjeremy
Created August 2, 2018 07:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Delete a Transaction in Amatino Swift - A double-entry accounting library for iOS & MacOS
// Amatino Swift: https://github.com/amatino-code/amatino-swift
// Double entry accounting API
try transaction.delete( { (error, transaction) in
// It's gone! The returned transaction is in an
// .active = false state and is no longer used.
})
@hwjeremy
Copy link
Author

hwjeremy commented Aug 2, 2018

The transaction instance is an example of a Transaction retrieved or created using techniques visible in the Transaction.create() and Transaction.retrieve() gists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment