Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.44 KB

README.md

File metadata and controls

46 lines (27 loc) · 1.44 KB

ICDialogView

CI Status Version License Platform

Example

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

Requirements

Installation

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

pod 'ICDialogView'

Author

LimMem, [email protected]

License

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];