TAKAlertUtil 2.1

TAKAlertUtil 2.1

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
发布最后发布2016年4月

taktemTaktem维护。



  • SOMTD

根据OS进行分支,分别使用UIAlertView和UIAlertController

Podfile

pod 'TAKAlertUtil'

要求

需要使用ReactiveCocoa

入门

#import "TAKAlertUtil.h"
[[TAKAlertUtil showWithTitle:@"Title"
                     message:@"Alert message"
                buttonTitles:@[@"Cancel",@"OK"]] subscribeNext:^(id x) {
        if ([x intValue] == 0) {
            NSLog(@"Cancel button tapped.");
        } else {
            NSLog(@"OK button tapped.");
        }
    }];

许可证

TAKAlertUtil采用MIT许可证发布。详细信息请参阅LICENSE。