Latest 0.2
Homepage https://github.com/TobiasMende/TMTTabBar
License MIT
Platforms osx 10.11, requires ARC
Authors

TMTTabBar Build Status

TMTTabBar is an implementation of a tab bar view. It is meant as library for OS X development.
At the current stage, OS X 10.11 is required. This may change in the future.

Features

The following list is not complete:

  • Add tabs
  • Close tabs
  • Switch tabs
  • Move tabs inside the tab bar
  • Drag tabs to other tab views
  • Drag tabs to new windows
  • The tab selection order is remembered, such that closing a tab will automatically select the previously selected tab

Usage

The tab bar was developed, having reusability and customizability in mind.
Therefore, almost any aspect of the views can be customized by implementing the TMTTabViewDelegate protocol.

See the TMTTabBarDemo project for usage examples. This project uses the TMTTabbedWindow for displaying tabs. This window controller and its window come with the library and can be used very easily.
However, you can build custom tab views, by using the following components:

  • TMTTabBarView is the view, which contains the tabs
  • TMTTabViewContainerView is the view which contains the view that belongs to the selected tab

Latest podspec

{
    "name": "TMTTabBar",
    "version": "0.2",
    "summary": "TMTTabBar is a flexible tab bar view for OS X applications.",
    "description": "This pod provides tab bars and views for OS X applications. Features include creation and deletion of tabs, drag and drop, hotkeys, ...",
    "license": "MIT",
    "authors": {
        "Tobias Mende": "[email protected]"
    },
    "homepage": "https://github.com/TobiasMende/TMTTabBar",
    "platforms": {
        "osx": "10.11"
    },
    "source": {
        "git": "https://github.com/TobiasMende/TMTTabBar.git",
        "tag": "0.2"
    },
    "source_files": "TMTTabBar/**/*.{h,m}",
    "resources": "**/*.xib",
    "requires_arc": true
}

Pin It on Pinterest

Share This