Show HN: Bonsplit – Tabs and splits for native macOS apps
Posted by sgottit 4 days ago
Comments
Comment by publicdebates 4 days ago
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?
Comment by chris_st 4 days ago
Or maybe just "for the love of all that's good"?
Comment by drewradcliff 4 days ago
Comment by jitl 4 days ago
Comment by dozerly 4 days ago
Comment by goranmoomin 4 days ago
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).
Comment by atombender 4 days ago
It may be OK for certain types of document-oriented apps, but there's a reason most apps (Chrome, iTerm, even Safari uses its own native tabs, I believe) don't use it. It's underbaked and awkward to fit into a model where your "tab data model" doesn't neatly fit the document data model that the framework wants.
I recently made an app where I wanted tabs, and I just ended up abandoning tab support for this reason, and adding a todo item to use an off-the-shelf tab UI library in the future.
Comment by zapzupnz 4 days ago
Comment by goranmoomin 3 days ago
Comment by brianfryer 3 days ago
Comment by msephton 3 days ago
Comment by saagarjha 4 days ago
Comment by jofzar 4 days ago
This is very cool, but somehow got myself disappointed that something I didn't know I wanted doesn't exist.
Comment by ziml77 4 days ago
Comment by krispyfi 4 days ago
Comment by loceng 4 days ago
Comment by iamcalledrob 4 days ago
Getting drag and drop right is hard, it's so much more complex than you might think.
Comment by w10-1 3 days ago
From looking at the demo and the docs...
What I didn't see in the demo was changing the order of a tab within a panel via drag-and-drop (no "allowIntraPaneTabMove"?). Also presuming you can close tabs to left, right, or all other tabs (would need tabs as list to implement this in application). Also might like to somehow manage title elision when there are multiple tabs. Also want to change pane proportions on the fly. Also assuming one can have two views of the same document in different tabs.
So many possibilities! I'll try it in some app...
Comment by ahmadyan 3 days ago
https://assets.agentastic.ai/agentastic-dev-assets/videos/0....
Comment by rob_ 4 days ago
Comment by dmoose 4 days ago
Comment by jen20 4 days ago
One odd thing, the library doesn't have a license associated with it (in the repo, at least).
Comment by 0xb0565e486 4 days ago
Comment by bartvk 3 days ago
Comment by jbverschoor 4 days ago
Comment by ggoo 4 days ago
Comment by jbverschoor 4 days ago
I’d love to be able to arrange different tabs of different apps in one window
Comment by treetalker 4 days ago
- functionality/effect looks like Sublime Text origami mode
Comment by iLoveOncall 4 days ago
Comment by publicdebates 4 days ago
I clicked it thinking it was an MDI app.
Comment by kocialnews 4 days ago