All Projects → Lakr233 → ASMultiAppsRiverView

Lakr233 / ASMultiAppsRiverView

Licence: MIT license
App Store Like Multi App River View

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

ASMultiAppsRiverView

App Store like multi-apps river view

PRs Welcome PRs Welcome PRs Welcome

Preview

How to add it?

pod 'ASMultiAppsView'

How to use it?

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

Contributor

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].