Latest 0.0.2
Homepage https://github.com/lzwjava/LZAlertViewHelper
License MIT
Platforms ios , requires ARC
Authors

Use Block instead of UIAlertViewDelegate

Install

    pod 'LZAlertViewHelper'

Usage

[self.alertViewHelper showInputAlertViewWithMessage:@"请输入您的手机号码进行注册" block:^(BOOL confirm, NSString *text) {
   if (confirm) {
       /....
   } else {
       /...
   }
}

More Example

Latest podspec

{
    "name": "LZAlertViewHelper",
    "version": "0.0.2",
    "summary": "AlertView Util",
    "description": "Use block to handle UIAlertView callback, instead of delegate",
    "homepage": "https://github.com/lzwjava/LZAlertViewHelper",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "lzwjava": "[email protected]"
    },
    "social_media_url": "http://weibo.com/zhiweilee",
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/lzwjava/LZAlertViewHelper.git",
        "tag": "0.0.2"
    },
    "source_files": "LZAlertViewHelper/Classes/**/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This