Latest 1.0.1
Homepage https://github.com/scorplot/AlertViewCC
License MIT
Platforms ios 8.0
Authors

Example

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

Installation

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

pod "AlertViewCC"

Author

caomeili, [email protected]

使用方法

  1. 基本使用
#import <AlertViewCC.h>
E.g: 
[[[CCAlertFactory  shareInstance] createAlertViewWithTitle:@"aaa" message:@"bbb" style:UIAlertViewStyleDefault cancelAction:[QZAlertAction actionWithTitle:@"取消" handler:^(QZAlertAction * _Nullable action) {
    }] otherActions:[QZAlertAction actionWithTitle:@"1" handler:^(QZAlertAction * _Nullable action) {
    }], nil] show];
  1. 自定义alertView
#import <AlertViewCC.h>
#import <CCImitationAlertView.h> // 高仿alertView
E.g: 
[[CCAlertFactory shareInstance] setCustomAlertViewWithClass:[QZImitationAlertView class]];

Latest podspec

{
    "name": "AlertViewCC",
    "version": "1.0.1",
    "summary": "A short description of AlertViewCC.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/scorplot/AlertViewCC",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "caomeili": "https://github.com/caomeili"
    },
    "source": {
        "git": "https://github.com/scorplot/AlertViewCC",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Pod/Classes/**/*",
    "public_header_files": "Pod/Classes/**/*.h"
}

Pin It on Pinterest

Share This