Skip to content

一行代码给你的UITableView或UIScrollView的头部加上弹簧拉伸的效果

License

Notifications You must be signed in to change notification settings

findM/SpringHeadView

Repository files navigation

SpringHeadView

一行代码给你的UITableView或UIScrollView的头部加上弹簧拉伸的效果

效果

效果

使用

//引入头文件
#import "UIScrollView+SpringHeadView.h"
//声明一个topView
self.topImageView.frame = CGRectMake(0, 0, self.tableView.bounds.size.width, SpringHeadViewHeight);
//添加到头部
[self.tableView addSpringHeadView:self.topImageView];

就是这么简单,赶快用起来吧,小伙伴们。如果你喜欢或使用,请给个star,你的支持十分重要。

About

一行代码给你的UITableView或UIScrollView的头部加上弹簧拉伸的效果

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published