logoalt Hacker News

Show HN: Bonsplit – Tabs and splits for native macOS apps

182 pointsby sgottittoday at 11:56 AM25 commentsview on HN

Comments

goranmoomintoday at 1:02 PM

This is very interesting, I haven’t touched macOS development for quite a while but it’s good to know that libraries are still being written for both AppKit and SwiftUI on macOS.

I do feel that this library would benefit from an explanation on why this was needed. AFAIR AppKit already provides a native tabbing API where you can “just” (that “just” is doing a lot of heavy lifting) implement a few delegate methods and you get tabbing behavior for free, especially on document-based apps. (Sorry, I do not remember the specifics, it might have been a tad more difficult)

I’m not updated on the SwiftUI equivalent, but I would imagine that a similar API would exist much alike API for multiple windows or multiple documents.

I think everyone would benefit from a “why” explanation (which I definitely think would exist, since I’ve used too many AppKit APIs in pain), and also some screenshots for a demo app (so that we can expect how it would look and how much the look and feel would deviate from the native counterparts).

show 3 replies
publicdebatestoday at 2:40 PM

This is excessively beautiful, both the website and the library's UI.

But I have to ask: what's the rationale on dedicating such an elaborate and gorgeous website for just a library? Are you hoping to get hired for web design? Are you seeking fame and repute? Do you merely do it for the love of the game? Why, for the love of all that's good, pray tell why put all this effort into mere documentation?

show 3 replies
iamcalledrobtoday at 4:47 PM

Love the attention to detail here.

Getting drag and drop right is hard, it's so much more complex than you might think.

rob_today at 6:12 PM

My favourite window manager in linux was always ion3 that then became known as notion. I'm not sure if it was one of the first tiling/tab/split window managers but I started using it around the year 2000 and loved it. One feature that it seemed to have that a lot of other tiling windowmanagers didn't have is tabbed splits. Really nice to see this.

kocialnewstoday at 10:34 PM

This is interesting

jofzartoday at 12:42 PM

I don't know why, but I thought this was going to sandbox style tab/split support for the all the baselines macos apps.

This is very cool, but somehow got myself disappointed that something I didn't know I wanted doesn't exist.

show 1 reply
locengtoday at 1:21 PM

Easter egg: Click the logo!

dmoosetoday at 3:10 PM

This is quite beautiful. I had a somewhat similar use case last year and built something that wasn't this polished. The only feature that seems to be missing for what I needed then is the ability to tear off tabs into new windows that could also be dragged back into the frame to reattach. Will definitely be keeping this project in mind for future needs.

0xb0565e486today at 7:11 PM

I love how beautiful and creative the website header is while being a fragment of what it does. Fantastic work!

jen20today at 9:02 PM

This looks like a great library, and I'm happy to see focus on proper native Mac apps over Electron.

One odd thing, the library doesn't have a license associated with it (in the repo, at least).

treetalkertoday at 2:41 PM

- library

- functionality/effect looks like Sublime Text origami mode

jbverschoortoday at 6:03 PM

“Tabs and splits” should be something the window manager takes care of

show 1 reply
iLoveOncalltoday at 1:24 PM

The title really should include "library"...

show 1 reply