Latest 0.0.2
Homepage https://github.com/mklb/PBTinyAlert
License MIT
Platforms ios 7.0, requires ARC
Dependencies pop
Frameworks AudioToolbox
Authors

CI Status
Version
License
Platform

PBTinyAlert is a tiny, lightweight, and customizable notification view for your iOS portrait app. It uses the Facebook Pop Framework for fluid and fancy animations.

Example

To run the example project, clone the repo, and run pod install from the Example directory first. If you want to customize, copy the source files directly into your project.

PBTinyAlert Demo Gif

Usage

It’s easy as pie:

PBTinyAlert *myAlert = [PBTinyAlert withTitle:@"Try again"
                                      Message:@"Super swift message"
                              BackgroundColor:nil
                                    TextColor:nil
                                       Effect:PBFillEffect];
[myAlert showAndHideIn:3.f];

// Protip: PBBounceEffect looks nice too!

PBTinyAlert methods

All method names should speak for themselves:

-(void)show;
-(void)showWithVibration;
-(void)showAndHideIn:(float)seconds;
-(void)showWithVibrationAndHideIn:(float)seconds;
-(void)hide;
-(void)vibrate;

Installation

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

pod "PBTinyAlert"

Setup

  • You need include AudioToolbox in your project
  • Facebook Pop is already included as a dependency

License

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

Latest podspec

{
    "name": "PBTinyAlert",
    "version": "0.0.2",
    "summary": "PBTinyAlert is a tiny, lightweight and customizable notification view for your IOS portrait App",
    "homepage": "https://github.com/mklb/PBTinyAlert",
    "screenshots": "https://raw.githubusercontent.com/mklb/PBTinyAlert/master/PBTinyAlert.gif",
    "license": "MIT",
    "authors": {
        "Patrick Blu00e4sing": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mklb/PBTinyAlert.git",
        "tag": "0.0.2"
    },
    "social_media_url": "https://twitter.com/justawebguy",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes",
    "resource_bundles": {
        "PBTinyAlert": [
            "Pod/Assets/*.png"
        ]
    },
    "frameworks": "AudioToolbox",
    "dependencies": {
        "pop": [
            "~> 1.0"
        ]
    }
}

Pin It on Pinterest

Share This