Latest 1.0.0
Homepage https://github.com/baishiyun/BSYAlertBox
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit, Foundation
Authors

BSYAlertBox 是一款多功能提示控件,支持居中/居左/居右/居上/居下等显示,具体可以看实现样例,可以自定义背景颜色/字体颜色等,希望大家喜欢并Star支持。现在已经支持cocoapods安装。具体方法使用如下:

-(void)btnClicBottom
{

//自定义背景颜色/字体颜色/显示时间的方法

// [[BSYAlertBox alloc]initBottomAlertWithText:@"提示错误❌❌❌❌❌❌❌❌❌❌" During:2 textColor:[UIColor redColor] bgColor:[UIColor orangeColor]];
//默认方法
[[BSYAlertBox alloc] initBottomAlertWithText:@"提示错误❌❌❌❌❌❌❌❌❌❌"];

}

-(void)btnClicCenter
{

// [[BSYAlertBox alloc]initCenterAlertBoxWithText:@"给个Star呗😂😂😂😂😂😂😂😂😂😂" During:2 textColor:[UIColor redColor] bgColor:[UIColor brownColor]];
[[BSYAlertBox alloc] initCenterAlertBoxWithText:@"给个Star呗😂😂😂😂😂😂😂😂😂😂"];

}

-(void)btnClicLeft
{

//        [[BSYAlertBox alloc]initLeftAlertWithText:@"给个Star呗😂😂😂😂😂😂😂😂😂😂" During:2 textColor:[UIColor redColor] bgColor:[UIColor brownColor]];
[[BSYAlertBox alloc] initLeftAlertWithText:@"😂😂😂😂"];

}

-(void)btnClicRight
{

//[[BSYAlertBox alloc]initRightAlertWithText:@"给个Star呗😂😂😂😂😂😂😂😂😂😂" During:2 textColor:[UIColor redColor] bgColor:[UIColor brownColor]];
[[BSYAlertBox alloc] initRightAlertWithText:@"给个Star呗"];

}

-(void)btnClicTop
{

 [[BSYAlertBox alloc]initTopAlertWithText:@"给个Star呗 ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️!!!!" During:2 textColor:[UIColor redColor] bgColor:[UIColor yellowColor]];

// [[BSYAlertBox alloc] initTopAlertWithText:@"给个Star呗😂😂😂😂😂😂😂😂😂😂"];

}

Latest podspec

{
    "name": "BSYAlertBox",
    "version": "1.0.0",
    "license": "MIT",
    "summary": "BSYAlertBox u662fu4e00u6b3eu591au529fu80fdu63d0u793au63a7u4ef6uff0cu652fu6301u5c45u4e2d/u5c45u5de6/u5c45u53f3/u5c45u4e0a/u5c45u4e0bu7b49u663eu793auff0cu5177u4f53u53efu4ee5u770bu5b9eu73b0u6837u4f8buff0cu53efu4ee5u81eau5b9au4e49u80ccu666fu989cu8272/u5b57u4f53u989cu8272u7b49uff0cu5e0cu671bu5927u5bb6u559cu6b22u5e76Staru652fu6301",
    "homepage": "https://github.com/baishiyun/BSYAlertBox",
    "source": {
        "git": "https://github.com/baishiyun/BSYAlertBox.git",
        "tag": "1.0.0"
    },
    "source_files": "BSYAlertBox/*.{h,m}",
    "requires_arc": true,
    "platforms": {
        "ios": "7.0"
    },
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "authors": {
        "u767du4ed5u4e91": "[email protected]"
    },
    "social_media_url": "https://github.com/baishiyun"
}

Pin It on Pinterest

Share This