Lurker News
Bike’s most original feature is the “fluid” text editing. Lots of text editors have animated some interactions (cursor movement, insert newline, etc), but I think Bike is the first designed from the ground up to support fluid editing.

Give it a try, it feels different. (movie on home page if you don't have Mac)
Other Features:
• In text mode Bike works like a normal text editor. In outline mode rows are constrained to outline hierarchy.
• .bike file format is HTML subset, so files are easy to parse and manipulate. Bike also supports .opml and .txt.
• Scriptable via AppleScript. Javascript plugin API also expected in future, though no timing on that.
• Architecture needed to support fluid editing also makes Bike faster/more scalable than most (all?) outliners and many text editors. I test performance using the Moby Dick Workout[^1].
Implementation Notes:
• View is built using CALayers[^2].
• Animations are performed by Core animation and Motion[^3] lib.
• View performance is determined by visible text, not document size.
Model representation is interesting in that it’s just a flat list of rows. Each row has a `level` property, outline structure is determined dynamically. View implementation requires that each row has a unique ID.
I’m using OrderedDictionary from Swift Collections[^4] to store rows. This is Bike’s performance bottleneck for large outlines. Eventually I may change to augmented b+tree and then should be able to work with gigabytes worth of outline. That will be fun, but not sure it’s actually needed. Already probably fast enough for 99% of use cases as is.
Hope you find Bike interesting. I’m happy to answer any questions.
[^1]: https://www.hogbaysoftware.com/posts/moby-dick-workout/
[^2]: https://developer.apple.com/documentation/quartzcore/calayer
[^3]: https://github.com/b3ll/Motion
[^4]: https://github.com/apple/swift-collections

Comments (236) 69 threads

Show all comments

Showing thread 8 of 69

elcapitan2 replies#
I watched the movie on the linked website, but I really don't get what "fluid" editing is supposed to be and what problem it solves? (I've been using OmniOutliner for years and never missed something like described there)
Exuma2 replies#
If you don't see how that's fluid and why it's valuable then that feature isn't for you. But it's certainly unquestionably fluid unlike a lot of other trash apps.
samatman1 reply#
Not recognizing what the word is supposed to mean in this context doesn't imply any of those things.
Exuma#
It most certainly does, lol. There's a lot of programmers who have literally zero design aesthetic. I bet 99% of the people who don't understand what "fluid" means in this context fall into that category. Anyone with even a remote sense of aesthetics and design will immediately recognize the fluidness of the navigation/animation/flow
mikeg8#
What a great non answer
dchest2 replies#
I made a tiny screencast showing the big difference: https://imgur.com/a/u1QTns6

OmniOutliner feels like it has a separate text field for each node. Bike feels like a text editor when you're editing a document with nodes, which to me is more natural.

ask_b1231 reply#
I'd recommend using KeyCastr to show the keystrokes while recording.
dchest#
Yeah, sorry for the lack of keystokes. I usually use ScreenFlow which also has this feature, but for this one I used LICEcap.
elcapitan#
Thanks! So this is more about seemless navigation than about the actual editing, I guess. I've always used OmniOutliner as a sort of "Excel with Tree" (multicolumn outline), so having separate cells is kind of an obvious default or even main feature for me. I can see now how purely longform-text cases might profit from this version.