Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

crossPQW/SHCollectionViewFlowLayout

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHCollectionViewFlowLayout

通过瀑布流UICollectionView实现类似于iOS原生短信界面的弹簧效果

#使用方法 导入SHCollectionViewFlowLayout到你自己项目中,舍弃系统的UICollectionViewFlowLayout.具体看demo 弹簧效果的强度等可以通过以下三个参数调节:

spring.length = 0; spring.damping = 0.5; spring.frequency = 0.8f; 点击预览效果图

#注意事项 如果给collectionView设置了数据源并且通过reloadData刷新数据的话,需要再刷新数据的时候调用reset方法.

About

类似于iOS原生短信界面的弹簧效果

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.