Latest 0.0.3
Homepage https://github.com/kingly09/LBinBarButtonItem
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

Customize the flat button on the navigation

LBinBarButtonItem

CocoaPods

LBinBarButtonItem can be installed using CocoaPods.

   pod 'LBinBarButtonItem', '~> 0.0.3'

How to use

Add leftBarButtonItem

    UIBarButtonItem *leftButton = [LBinBarButtonItem barItemWithImage:[UIImage imageNamed:@"circles"]
                                                        selectedImage:nil
                                                               target:self
                                                               action:@selector(clickLeftButton:)];
    self.navigationItem.leftBarButtonItem = leftButton;

Add rightBarButtonItem

    UIBarButtonItem *rightButton = [LBinBarButtonItem barItemWithImage:[UIImage imageNamed:@"icon_tabbar_notification"]
                                                         selectedImage:[UIImage imageNamed:@"icon_tabbar_notification_active"]
                                                                target:self
                                                                action:@selector(clickRightButton:)];
    self.navigationItem.rightBarButtonItem = rightButton;

Latest podspec

{
    "name": "LBinBarButtonItem",
    "summary": "Customize the flat button on the navigation of LBinBarButtonItem.",
    "version": "0.0.3",
    "homepage": "https://github.com/kingly09/LBinBarButtonItem",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "kingly": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/kingly09/LBinBarButtonItem.git",
        "tag": "0.0.3"
    },
    "social_media_url": "https://github.com/kingly09",
    "source_files": "BarButtonItemLib/*.{h,m}",
    "frameworks": "UIKit",
    "xcconfig": {
        "FORK_XCODE_WRITING": true
    }
}

Pin It on Pinterest

Share This