Latest 0.1.3
Homepage https://github.com/RookieZn/RZToolbar
License MIT
Platforms ios 8.0
Dependencies Masonry
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

RZToolbar is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "RZToolbar"

Usage

_toolbar = [[RZToolbar alloc] initWithFrame:CGRectMake(0, self.view.bounds.size.height - BAR_HEIGHT, self.view.bounds.size.width, BAR_HEIGHT)];
NSDictionary *attributes = @{NSFontAttributeName: [UIFont systemFontOfSize:14], NSForegroundColorAttributeName: [UIColor blueColor]};
NSAttributedString *attrString = [[NSAttributedString alloc] initWithString:@"Foo" attributes:attributes];
RZBarButtonItem *fooBarItem = [[RZBarButtonItem alloc] initWithAttributedTitle:attrString target:nil action:nil];
RZBarButtonItem *spaceBarItem = [[RZBarButtonItem alloc] initWithSpaceFlexible:YES];
[_toolbar setItems:@[fooBarItem, spaceBarItem]];

Author

RookieZn, [email protected]

License

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

Latest podspec

{
    "name": "RZToolbar",
    "version": "0.1.3",
    "summary": "RZToolbar provides convenience for accessing toolbars' bar items views while preserves those easy-to-use interfaces of UIToolbar class.",
    "description": "RZToolbar provides convenience for accessing toolbars' bar item views while preserves those easy-to-use interfaces of UIToolbar class.nIn fact, I build this custom toolbar style view also due to some strange layout issues for UIToolbar.",
    "homepage": "https://github.com/RookieZn/RZToolbar",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "RookieZn": "[email protected]"
    },
    "source": {
        "git": "https://github.com/RookieZn/RZToolbar.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "RZToolbar/Classes/**/*",
    "dependencies": {
        "Masonry": [
            "~> 1.0.1"
        ]
    }
}

Pin It on Pinterest

Share This