Read, process, and serialize TaskPaper outlines in Swift
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BirchOutline.xcodeproj Sync with TaskPaper 3.6 Nov 17, 2016
BirchOutline Sync with TaskPaper 3.6 Nov 17, 2016
BirchOutlineTests use agvtool Jul 13, 2016
BirchOutlineiOS use agvtool Jul 13, 2016
BirchOutlineiOSTests use agvtool Jul 13, 2016
Common
Dependencies Sync with TaskPaper 3.6 Nov 17, 2016
.gitignore Initial commit Jun 24, 2016
.travis.yml Run travis with shared scheme Jul 11, 2016
BirchOutline.podspec.md Add podspec Jun 24, 2016
LICENSE Initial commit Jun 24, 2016
README.md Add build status to read Jun 29, 2016

README.md

Birch Outline (Swift)

Build Status

Birch Outline is a Swift framework (iOS & macOS) that wraps birch-outline.

It's in pre-release now, but I think it's suitable for reading, processing, and seriaizing TaskPaper outlines. In the future the wrapper can be extended to serve as a good runtime outline model for other apps to build off.

Example

import BirchOutline

let outline = BirchOutline.createTaskPaperOutline("one:")
let one = outline.root.firstChild

let two = outline.createItem("two")
two.setAttribute("data-type", value: "task")
two.setAttribute("data-priority", value: "1")
one.appendChildren([two])

let three = outline.createItem("three")
two.appendChild([three])

print(outline.serialize(nil))

/*
one:
  - two @priority(1)
    three
*/