新闻中心

EEPW首页 > 嵌入式系统 > 设计应用 > iOS开发常用的第三方类库

iOS开发常用的第三方类库

作者: 时间:2016-10-08 来源:网络 收藏
[weakSelf insertRowAtTop];
}];
// 设置上拉加载更多
[self.tableView addInfiniteScrollingWithActionHandler:^{
[weakSelf insertRowAtBottom];
}];
}
- (void)viewDidAppear:(BOOL)animated {
[tableView triggerPullToRefresh];
}
- (void)insertRowAtTop {
// 获取数据....
// 停止动画
[self.tableView.pullToRefreshView stopAnimating];
}
- (void)insertRowAtBottom {
// 获取数据....
// 停止动画
[weakSelf.tableView.infiniteScrollingView stopAnimating];
}

CMPopTipView 提示信息

本文引用地址:https://www.eepw.com.cn/article/201610/305920.htm

GitHub:https://github.com/chrismiles/CMPopTipView

CMPopTipView用于在一些视图上显示提示信息:

1
2
3
4
5
6
7
8
9
10
self.tipView = [[CMPopTipView alloc] initWithMessage:@提示消息];
self.tipView.delegate = self;
[self.tipView presentPointingAtView:anyButton inView:self.view animated:YES];// 点击按钮显示
[self.tipView presentPointingAtBarButtonItem:barButtonItem animated:YES];// 点击导航栏按钮显示
#pragma mark CMPopTipViewDelegate methods
- (void)popTipViewWasDismissedByUser:(CMPopTipView *)popTipView {
// 清理资源
self.tipView = nil;
}

PrettyKit

GitHub:https://github.com/vicpenap/PrettyKit


上一页 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 下一页

关键词:

评论


相关推荐

技术专区

关闭