🎴 CardStackView
😃 Example Project
To run the example project, clone the repo, and run pod install
from the Example directory first.
🖥 Installation
CardStackView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "CardStackView"
🤔 Implementation
import CardStackView
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
var views = [MyCustomView]()
for index in 0...6 {
var view = MyCustomView()
views.append(view)
}
let cardStackView = CardStackView(cards: cardViews)
self.view.addSubview(cardStackView)
// autolayout your cardStackView
}
}
🤓 Author
gomfucius, [email protected]
📄 License
CardStackView is available under the MIT license. See the LICENSE file for more info.