First you have to import 'ThreeDCardView'
import 'ThreeDCardView'
Create ThreeDCardView and set the frame
let threeDCardView:ThreeDCardView = ThreeDCardView(frame:)
Set the datasource
threeDCardView.dataSource = self
extension ViewController:ThreeDCardDataSource {
func setCardImages() -> [UIImage] {
let images:[UIImage] = [UIImage(named: "")!,UIImage(named: "")!,UIImage(named: "")!,UIImage(named: "")!]
return images
}
}
ipad pro 5th | iphone 13 pro |
---|---|
![]() |
![]() |
- iOS 11
- Swift 5.0
ThreeDCardView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ThreeDCardView'
fomagran, fomagran6@naver.com
ThreeDCardView is available under the MIT license. See the LICENSE file for more info.