Latest 0.0.1
Homepage https://github.com/Feelinging/FEAlertController
License MIT
Platforms ios 7.0, requires ARC
Authors

build a wheel for FeelingV2

screenshot

Features

  • Easy to use
  • Full customization

Useage

import
#import "FEAlertController.h"
init
  • title can be nil
  • image can be nil
  • description can be nil
  • buttons maximum of 2
FEAlertController *alertController = [FEAlertController alertWithTitle:@"What are you doing?"
                                                                 image:[UIImage imageNamed:@"ahopps"]
                                                           description:@"Can you guess what I'm going to do?"
                                                               buttons:@[@"Read book",@"Coding"]
                                                  highlightButtonIndex:1
                                                              callback:^(FEAlertController *alertController, NSInteger buttonIndex) {
                                                                  NSLog(@"click button index : %@", @(buttonIndex));
}];
show
[alertController showInViewController:self];
dismiss
[alertController dismiss];
About these properties

screenshot

Customiz

you can use alertController.contentView. control all of ui elements. eg.

alertController.contentView.titleLabel.font = [UIFont boldSystemFontOfSize:18.0];
alertController.contentView.descriptionLabel.textColor = [UIColor redColor];

CocoaPods

pod 'FEAlertController'

Licence

MIT

Latest podspec

{
    "name": "FEAlertController",
    "version": "0.0.1",
    "summary": "A alert wheel for FeelingV2",
    "description": "A alert wheel for FeelingV2.",
    "homepage": "https://github.com/Feelinging/FEAlertController",
    "screenshots": "https://raw.github.com/Feelinging/FEAlertController/master/screenshot.png",
    "license": "MIT",
    "authors": {
        "isaced": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/Feelinging/FEAlertController.git",
        "tag": "0.0.1"
    },
    "source_files": "FEAlertController/**/*.{h,m}",
    "resources": "FEAlertController/**/*.xib",
    "requires_arc": true
}

Pin It on Pinterest

Share This