AdaptiveSpaceItem 1.2.0

AdaptiveSpaceItem 1.2.0

LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2016
SPMSupports SPM

Maintained by Tom Baranes, Vincent CARLIER.

  • By
  • Tom Baranes


AdaptiveSpaceItem is a NSToolbarItem subclass which will create space to center the next toolbar item.


Swift Package Manager

AdaptiveSpaceItem is available on SPM. Just add the following to your Package file:

import PackageDescription

let package = Package(
    dependencies: [
        .Package(url: "", majorVersion: 1)

Manual Installation

Just drag the Source/*.swift files into your project.


Using Interface Builder add an “ToolbarItem” to your toolbar and set its class to AdaptiveSpaceItem. The next item will be centered in the toolbar.

What’s next

  • Your ideas!


  • If you found a bug, open an issue
  • If you have a feature request, open an issue
  • If you want to contribute, submit a pull request


AdaptiveSpaceItem is available under the MIT license. See the LICENSE file for more info.