- iOS 10.0
- Xcode 9
- Swift 4.0
You can install garland-view
in several ways:
- Add source files to your project.
- Use CocoaPods:
pod 'garland-view'
- Use Carthage:
github "Ramotion/garland-view"
Garland view can be used directly or by subclassing GarlandViewController
. In both variants you need to implement UICollectionViewDataSource
and UICollectionViewDelegate
protocols.
let nib = UINib(nibName: "CollectionCell", bundle: nil)
garlandCollection.register(nib, forCellWithReuseIdentifier: "Cell")
garlandCollection.delegate = self
garlandCollection.dataSource = self
Control can be user with or without header view. Use setupHeader(:UIView)
to customize collection header.
Use GarlandConfig
to make your custom configuration.
Take a look at the Example
project for an integration example.
Garland View is released under the MIT license. See LICENSE for details.
This library is a part of a selection of our best UI open-source projects.
If you use the open-source library in your project, please make sure to credit and backlink to https://www.ramotion.com/
Try this UI component and more like this in our iOS app. Contact us if interested.