App Store like multi-apps river view
pod 'ASMultiAppsView'
var multiAppView: ASMultiAppsView = {
let multiAppView = ASMultiAppsView(with: ASMultiAppsViewASMultiAppsViewConfig())
let imgSets: [UIImage] = [UIImage(named: "0")!,
UIImage(named: "1")!,
UIImage(named: "2")!,
UIImage(named: "3")!,
UIImage(named: "4")!]
multiAppView.setImages(images: imgSets)
multiAppView.backgroundColor = .white
return multiAppView
}()
self.view.addSubview(multiAppView)
multiAppView.snp.makeConstraints { (x) in
x.center.equalTo(self.view.snp.center)
x.height.equalTo(multiAppView.getConfig().cardHeight)
x.width.equalTo(multiAppView.getConfig().cardWidth)
}
multiAppView.setRadius()
multiAppView.dropShadow()
- @Lakr233 [https://twitter.com/Lakr233]
- DesGuard [https://github.com/Desgard]