Check source code and demo at Github
https://github.com/Sylvia-YiyinShen/CustomMarqueueViewDemo
- custom cell
- custom size
- custom scroll direction
- custom scroll interval
How to use
- make your own collection view cell conform to MarqueueViewCellProtocol
- make your own cell model conform to MarqueueViewCellModelProtocol
- invoke function marqueueView.configure(models: [MarqueueViewCellModelProtocol], customCellNib: UINib, orientation: Orientation = default, interval: TimeInterval)
.
No comments:
Post a Comment