02 2018 档案

字符串的方法集合
摘要:NSString *last1 = [str1 substringToIndex:str1.length-2];//截去字符串结尾 NSString *last2 = [str2 substringFormIndex:str2.length-2];//截取字符串结尾 阅读全文

posted @ 2018-02-23 17:29 高彰 阅读(188) 评论(0) 推荐(0)

iOS tableview下拉刷新
摘要:- (void)viewDidLoad { [super viewDidLoad]; // 创建tableview [self setTableView]; [self setupRefresh]; } // 下拉刷新 - (void)setupRefresh { NSLog(@"setupRefresh -- 下拉刷新"); ... 阅读全文

posted @ 2018-02-06 16:08 高彰 阅读(1688) 评论(0) 推荐(0)

iOS 设置按钮圆切角(4个角都可随意设置)
摘要:https://yq.aliyun.com/ziliao/4779 设置按钮的4个角:左上:UIRectCornerTopLeft左下:UIRectCornerBottomLeft右上:UIRectCornerTopRight右下:UIRectCornerBottomRight 例子代码: UIBu 阅读全文

posted @ 2018-02-06 11:30 高彰 阅读(6200) 评论(0) 推荐(0)

iOS 自定义弹框
摘要:https://www.jianshu.com/p/b9bba621b295 阅读全文

posted @ 2018-02-05 17:58 高彰 阅读(178) 评论(0) 推荐(0)

导航