国产亚洲精品AA片在线观看,丰满熟妇HD,亚洲成色www成人网站妖精,丁香五月天婷婷五月天男人天堂

新聞中心

EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > iOS開發(fā)常用的第三方類庫

iOS開發(fā)常用的第三方類庫

作者: 時(shí)間:2016-10-08 來源:網(wǎng)絡(luò) 收藏

PullToRefresh 下拉刷新

GitHub:https://github.com/leah/PullToRefresh

PullToRefresh提供比EGOTableViewPullRefresh更加簡單的使用方法,只要繼承自PullRefreshTableViewController,再實(shí)現(xiàn)refresh方法即可:

1
2
3
4
5
6
- (void)refresh {
// 加載數(shù)據(jù)
[self.tableView reloadData];// 重新載入U(xiǎn)ITableView
[self stopLoading];//停止動(dòng)畫
}

STableViewController 下拉刷新、上拉加載更多

GitHub:https://github.com/shiki/STableViewController

STableViewController比PullToRefresh多了一個(gè)上拉加載更多功能,使用上也差不多簡單,需要繼承自STableViewController,再實(shí)現(xiàn)一些方法:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

關(guān)鍵詞:

評(píng)論


相關(guān)推薦

技術(shù)專區(qū)