This project is part for SwiftBeanCount, please check out the main documentation here.
This is the parser of SwiftBeanCount. It takes a string or a file and returns a Ledger
(from SwiftBeanCountModel).
Either call Parser.parse(contentOf: URL)
or Parser.parse(string: String)
. You can check out the complete documentation here.
The library supports the Swift Package Manger, so simply add a dependency in your Package.swift
:
.package(url: "https://github.com/Nef10/SwiftBeanCountParser.git", .exact("X.Y.Z")),
Note: as per semantic versioning all versions changes < 1.0.0 can be breaking, so please use .exact
for now