Latest 0.2
License MIT
Platforms ios , requires ARC
Frameworks UIKit

UIBarButtonItem category for space items. This is just a shorter and hopefully nicer way to instantiate the system space bar button items.

How to install

Available on CocoaPods. CocoaPods version badge 
CocoaPods platform badge

pod 'UIBarButtonItem+VTSpaceItem'

How to use

UIBarButtonItem *flexibleSpaceItem = [UIBarButtonItem vt_flexibleSpaceItem];
UIBarButtonItem *fixedSpaceItem    = [UIBarButtonItem vt_fixedSpaceItemWithWidth:20];


UIBarButtonItem+VTSpaceItem was created by Vincent Tourraine.


UIBarButtonItem+VTSpaceItem is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "UIBarButtonItem+VTSpaceItem",
    "version": "0.2",
    "summary": "UIBarButtonItem category for flexible and fixed space items.",
    "description": "`UIBarButtonItem` category for flexible and fixed space items.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Vincent Tourraine": "[email protected]"
    "social_media_url": "",
    "source": {
        "git": "",
        "tag": "0.2"
    "source_files": "Classes",
    "platforms": {
        "ios": null
    "frameworks": "UIKit",
    "requires_arc": true

Pin It on Pinterest

Share This