To run the example project, clone the repo, and run pod install
from the Example directory first.
ICDialogView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ICDialogView'
LimMem, [email protected]
ICDialogView is available under the MIT license. See the LICENSE file for more info.
#import<ICDialogView/ICDialogView.h>
ICDialogView *dialogView = [ICDialogView dialogViewWithTitle:@"是否删除所有的搜索记录?" message:@"" preferredStyle:ICDialogViewStyleAlert];
[dialogView addAction: [ICDialogAction actionWithTitle:@"取消" style:ICDialogActionStyleCancel handler:nil]];
[dialogView addAction: [ICDialogAction actionWithTitle:@"确认" style:ICDialogActionStyleDefault handler:^(ICDialogAction * _Nonnull action) {
}]];
[dialogView showDialogViewToSuperView:self.view];