ADLivelyTableView 生动的表格cell 出场控件

https://github.com/applidium/ADLivelyTableView


ADLivelyTableView - UITableView with style

ADLivelyTableView is a drop-in subclass of UITableView that lets you add custom animations to any UITableView.

It's rather simple to use :

  • Add ADLivelyTableView.h and ADLivelyTableView.m to your iOS project
  • Link against the QuartzCore framework if you don't already
  • Turn any UITableView you want to animate (or subclass thereof) into a subclass of ADLivelyTableView
  • Pick whichever animation you like, like this : livelyTableView.initialCellTransformBlock = ADLivelyTransformFan;

 
 
#import <UIKit/UIKit.h>
extern NSTimeInterval ADLivelyDefaultDuration ;
typedef NSTimeInterval ( ^ ADLivelyTransform )( CALayer * layer , float speed );
extern ADLivelyTransform ADLivelyTransformCurl ;
extern ADLivelyTransform ADLivelyTransformFade ;
extern ADLivelyTransform ADLivelyTransformFan ;
extern ADLivelyTransform ADLivelyTransformFlip ;
extern ADLivelyTransform ADLivelyTransformHelix ;
extern ADLivelyTransform ADLivelyTransformTilt ;
extern ADLivelyTransform ADLivelyTransformWave ;
@interface ADLivelyTableView : UITableView < UITableViewDelegate > {
     id < UITableViewDelegate > _preLivelyDelegate ;
     CGPoint _lastScrollPosition ;
     CGPoint _currentScrollPosition ;
     ADLivelyTransform _transformBlock ;
}
- ( CGPoint ) scrollSpeed ;
- ( void ) setInitialCellTransformBlock: ( ADLivelyTransform ) block ;
@end

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值