- 博客(8)
- 收藏
- 关注
原创 cell的线不贴边
-(void)tableView:(UITableView )tableView willDisplayCell:(UITableViewCell )cell forRowAtIndexPath:(NSIndexPath *)indexPat{ if ([cell respondsToSelector: @selector(setLayoutMargins:)]) { [
2017-02-23 10:26:27 155
原创 自动适配Label高度
CGSize finalFitTitleHeight = [self.titleLabel sizeThatFits: autoFitTitleHeight];
2017-02-21 11:30:54 367
原创 启动都需要 放在主线程里了
(BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions {dispatch_async(dispatch_get_main_queue(), ^{ //你的代码写在这里面// });return YES; }
2017-02-15 16:57:41 231
原创 http
po [[NSString alloc] initWithData: error.userInfo[@”com.alamofire.serialization.response.error.data”] encoding: NSUTF8StringEncoding]
2017-02-15 15:35:11 243
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人