Skip to content

Repository files navigation

🎴 CardStackView

SwiftUnitTest Actions StatusCarthageVersionLicensePlatformCoverage Status

Alt text

😃 Example Project

To run the example project, clone the repo, open Example/CardStackView.xcodeproj, then build and run the CardStackView_Example target.

🖥 Installation

CardStackView is available through Swift Package Manager, Carthage and CocoaPods.

Carthage

github "gomfucius/CardStackView" == 0.2.1

Cocoapods

To install, simply add the following line to your Podfile:

pod"CardStackView"

🤔 Implementation

import CardStackView
classViewController:UIViewController{overridefunc viewDidLoad(){
super.viewDidLoad()varcardViews=[MyCustomView]()forindexin0...6{varview=MyCustomView()
cardViews.append(view)}letcardStackView=CardStackView(cards: cardViews)self.view.addSubview(cardStackView)
// autolayout your cardStackView
}}

🤓 Author

gomfucius, gomfucius@gmail.com

📄 License

CardStackView is available under the MIT license. See the LICENSE file for more info.

About

Inifinite swipeable stacked UIViews.

Topics

Resources

Stars

46 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages