ASMultiAppsView 0.1.0

ASMultiAppsView 0.1.0

Lakr Aream 维护。




ASMultiAppsRiverView

App Store 风格的多应用河流视图

PRs Welcome PRs Welcome PRs Welcome

Preview

如何添加它?

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()

捐赠者