Слияние кода завершено, страница обновится автоматически
{
"name": "Ralertview",
"tagline": "AlertView, Ios popup window, A pop-up framework, Can be simple and convenient to join your project.",
"body": " \r\n RAlertView\r\n===\r\nAlertView A pop-up framework, Can be simple and convenient to join your project.\r\n\r\n[](https://github.com/roycms/RAlertView)\r\n[](http://cocoapods.org/?q=RAlertView)\r\n[](https://github.com/roycms/RAlertView/blob/master/LICENSE)\r\n[](mailto:roycms@qq.com)\r\n[](https://github.com/roycms/RAlertView/blob/master/README-CN.md)\r\n\r\n\r\n\r\n\r\n## Installation\r\n- Depend on the project ` Masonry `and ` HexColors ` Import `#import \"Masonry.h\"` `#import \"HexColors.h\"`\r\n- Import the main header file:`#import \"RAlertView.h\"`\r\n\r\n## cocoapods \r\n` pod 'AlertView' `\r\n\r\n## Preview AlertStyle\r\n```objective-c\r\ntypedef NS_ENUM(NSInteger,AlertStyle) {\r\n SimpleAlert = 0,\r\n ConfirmAlert,\r\n CancelAndConfirmAlert,\r\n};\r\n```\r\n\r\n## Preview AlertTheme\r\n```objective-c\r\ntypedef NS_ENUM(NSInteger,AlertTheme) {\r\n YellowAlert = 0,\r\n GreenAlert,\r\n BlueAlert,\r\n Purple1Alert,\r\n Purple2Alert,\r\n};\r\n```\r\n\r\n\r\n## Some feature set\r\n* Click on the background and any position hidden pop-up window\r\n```objective-c\r\nalert.isClickBackgroundCloseWindow = YES;\r\n```\r\n* Set bounced content text center\r\n```objective-c\r\n[alert setContentText:@\"is ContentText\" isAlignmentCenter:YES];\r\n```\r\n\r\n## init RAlertView\r\n* initWithStyle AlertStyle\r\n```objective-c\r\nRAlertView *alert = [[RAlertView alloc] initWithStyle:SimpleAlert];\r\n```\r\n* initWithStyle AlertStyle and width\r\n```objective-c\r\nRAlertView *alert = [[RAlertView alloc] initWithStyle:SimpleAlert width:0.8];\r\n```\r\n## SimpleAlert\r\n```objective-c\r\nRAlertView *alert = [[RAlertView alloc] initWithStyle:SimpleAlert];\r\nalert.contentText = @\"SimpleAlert \\nAlertView A pop-up framework, Can be simple and convenient to join your project\";\r\n```\r\n## ConfirmAlert\r\n```objective-c\r\nRAlertView *alert = [[RAlertView alloc] initWithStyle:ConfirmAlert];\r\nalert.theme = Purple1Alert;\r\nalert.headerTitle = @\"ConfirmAlert\";\r\nalert.contentText = @\"AlertView A pop-up framework, Can be simple and convenient to join your project\";\r\nalert.confirmButtonText = @\"Ok\";\r\nalert.confirmButtonBlock = ^(){\r\n NSLog(@\"Click on the Ok\");\r\n};\r\n```\r\n## CancelAndConfirmAlert\r\n```objective-c\r\nRAlertView *alert = [[RAlertView alloc] initWithStyle:CancelAndConfirmAlert];\r\nalert.headerTitle = @\"CancelAndConfirmAlert\";\r\nalert.contentText = @\"AlertView A pop-up framework, Can be simple and convenient to join your project\";\r\nalert.confirmButtonText = @\"Ok\";\r\nalert.cancelButtonText = @\"Cancel\";\r\nalert.confirmButtonBlock = ^(){\r\n NSLog(@\"Click on the Ok\");\r\n};\r\nalert.cancelWindowBlock = ^(){\r\n NSLog(@\"Click on the Cancel\");\r\n};\r\n```\r\n## 期待\r\n* 如果在使用过程中遇到BUG,希望你能Issues我,谢谢(或者尝试下载最新的框架代码看看BUG修复没有)\r\n* 如果在使用过程中发现功能不够用,希望你能Issues我,我非常想为这个框架增加更多好用的功能,谢谢\r\n* 如果你想为RAlertView输出代码,请拼命Pull Requests我\r\n",
"note": "Don't delete this file! It's used internally to help with page regeneration."
}
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )