Yes, there is an API for them; it’s part of NSWindow <https://developer.apple.com/reference/appkit/nswindow>. The basic tabbing is done by default, but there is the option to turn it on/off, get a list of tabbed windows, and manually add one to the list.
Saagar Jha > On Mar 25, 2017, at 23:53, Jens Alfke <j...@mooseyard.com> wrote: > > >> On Mar 25, 2017, at 4:40 PM, Saagar Jha <saa...@saagarjha.com >> <mailto:saa...@saagarjha.com>> wrote: >> >> Nothing, if I remember correctly. Cocoa should handle window tabs for you. > > Isn’t there an API to manage them? > > For example, I use the tab bar in SourceTree to group multiple repositories > into a single window, but every time I relaunch the app, they reopen as > separate windows and I have to group them again. I was assuming there’s an > API apps could adopt to be more aware of the tabs and at least be able to > restore them. > > —Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com