CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Feb 2017 |
| SwiftSwift Version | 3.0 |
| SPMSupports SPM | ✗ |
Maintained by Ian Terrell, Ian Terrell, Erik LaManna.
You can use this project via CocoaPods:
pod 'WillowTreeOuroboros'Or via Carthage:
github "willowtreeapps/ouroboros" >= 0.2.1Or you can simply copy the InfiniteCarousel.swift file into your project.
See the enclosed OuroborosExample application for a working demo.
If you’re using a storyboard, simply change your collection view class to InfiniteCarousel. Make sure you’re using a horizontally scrolling collection view with a flow layout, and make sure the flow layout’s item size and minimum line spacing are both set.
If you wish to center on more than one item at a time, be sure to update itemsPerPage.
If you wish for the carousel to auto-scroll, set autoScroll and the two related timers (in seconds).
count % itemsPerPage == 0).rootDataSource and rootDelegate instances.UICollectionViewFlowLayout with the carousel, and you must set up the item sizes and line spacing with its instance variables.Want to write amazing tvOS apps? Want to write amazing iOS apps? Check out our openings!
0.2.1 Update to Swift 3.0 syntax.