Latest 0.1.3
Homepage https://github.com/defual/FlashBar
License MIT
Platforms ios 9.0, requires ARC
Authors

FlashBar Image]

codebeat badge

Usage

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

Requirements

None

Installation

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

pod "FlashBar"

Usage

import FlashBar

// ...

    @IBAction func someAction(sender: AnyObject) {
        let flash = navigationController!.flashBar

        flash.messageLabel.text = "hello world"
        flash.messageLabel.font = .systemFontOfSize(11)
        flash.messageLabel.textColor = .whiteColor()

        flash.backgroundColor = .redColor()

        flash.setHidden(false, animated: true)
    }
@import FlashBar;

// ...

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationController.flashBar.backgroundColor = [UIColor greenColor];
}

- (IBAction)someAction:(id)sender {
    BOOL hidden = self.navigationController.flashBar.hidden;
    [self.navigationController.flashBar setHidden:!hidden animated:YES];
}

Author

Damian Rzeszot, [email protected]

License

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

Latest podspec

{
    "name": "FlashBar",
    "version": "0.1.3",
    "summary": "Flash messages",
    "description": "Awersome flash bar",
    "homepage": "https://github.com/defual/FlashBar",
    "license": "MIT",
    "authors": {
        "Damian Rzeszot": "[email protected]"
    },
    "source": {
        "git": "https://github.com/defual/FlashBar.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "source_files": "FlashBar/FlashBar/**/*"
}

Pin It on Pinterest

Share This