日B视频 亚洲,啪啪啪网站一区二区,91色情精品久久,日日噜狠狠色综合久,超碰人妻少妇97在线,999青青视频,亚洲一区二卡,让本一区二区视频,日韩网站推荐

您好,歡迎來電子發(fā)燒友網(wǎng)! ,新用戶?[免費(fèi)注冊(cè)]

您的位置:電子發(fā)燒友網(wǎng)>源碼下載>通訊/手機(jī)編程>

根據(jù)tableView的特點(diǎn),操作Cell實(shí)現(xiàn)一些動(dòng)畫效果

大?。?/span>0.3 MB 人氣: 2017-09-25 需要積分:1

前言

UITableView 是iOS日常開發(fā)中經(jīng)常使用到的控件。tableView的普通展示效果比較生硬,為了提升APP的活力,提升體驗(yàn),我們可以對(duì)根據(jù)tableView的特點(diǎn),操作Cell實(shí)現(xiàn)一些動(dòng)畫效果。

我寫了一個(gè)簡(jiǎn)單的動(dòng)畫集 TableViewAnimationKit,只需要一行代碼就可以讓tableView實(shí)現(xiàn)動(dòng)畫

目前有大概10個(gè)動(dòng)畫,后續(xù)會(huì)優(yōu)化增加。

源碼放到Github上: TableViewAnimationKit歡迎大家star、下載,交流溝通。

正文

一、效果展示:

根據(jù)tableView的特點(diǎn),操作Cell實(shí)現(xiàn)一些動(dòng)畫效果

根據(jù)tableView的特點(diǎn),操作Cell實(shí)現(xiàn)一些動(dòng)畫效果

根據(jù)tableView的特點(diǎn),操作Cell實(shí)現(xiàn)一些動(dòng)畫效果

二、使用方法

TableViewAnimationKit調(diào)用各個(gè)動(dòng)畫的方法都為類方法,只需一行代碼就可以調(diào)用。

eg:

1

[TableViewAnimationKit shakeAnimationWithTableView:tableView];

TableViewAnimationKit提供的動(dòng)畫類方法

+ (void)moveAnimationWithTableView:(UITableView *)tableView;

+ (void)alphaAnimationWithTableView:(UITableView *)tableView;

+ (void)fallAnimationWithTableView:(UITableView *)tableView;

+ (void)shakeAnimationWithTableView:(UITableView *)tableView;

+ (void)overTurnAnimationWithTableView:(UITableView *)tableView;

+ (void)toTopAnimationWithTableView:(UITableView *)tableView;

+ (void)springListAnimationWithTableView:(UITableView *)tableView;

+ (void)shrinkToTopAnimationWithTableView:(UITableView *)tableView;

+ (void)layDonwAnimationWithTableView:(UITableView *)tableView;

+ (void)roteAnimationWithTableView:(UITableView *)tableView;

非常好我支持^.^

(0) 0%

不好我反對(duì)

(0) 0%

      發(fā)表評(píng)論

      用戶評(píng)論
      評(píng)價(jià):好評(píng)中評(píng)差評(píng)

      發(fā)表評(píng)論,獲取積分! 請(qǐng)遵守相關(guān)規(guī)定!

      ?
      朝阳市| 琼海市| 商南县| 北安市| 仙居县| 西平县| 永城市| 资阳市| 石泉县| 广饶县| 古浪县| 新密市| 利辛县| 酒泉市| 民和| 亚东县| 七台河市| 航空| 万宁市| 静安区| 彩票| 温宿县| 汨罗市| 南涧| 苏州市| 台中县| 万宁市| 永和县| 木兰县| 长葛市| 瑞昌市| 昆山市| 曲靖市| 名山县| 尼玛县| 新田县| 措勤县| 文水县| 丰顺县| 呼图壁县| 宝丰县|