Fully automatic managed circular image array.
• Drag ProfileClusterView.swift file into your project
• Add a UIView into interface builder
• Set it's class to ProfileClusterView
let profileCluster = ProfileCluster()
viewProfiles.configureCount = { return 10 } viewProfiles.configureImageView = { cluster in cluster.imageView.image = something } // or viewProfiles.configureImageViewCustom = { cluster in let view = UIView() // create your view cluster.view.addSubview(view) } viewProfiles.configureMoreView = { cluster in cluster.label.backgroundColor = .blue } // or viewProfiles.configureImageViewCustom = { cluster in let lbl = UILabel() lbl.text = "+\(cluster.more)" cluster.view.addSubview(lbl) } Contributions are always welcome!
This project is licensed under the MIT License - see the LICENSE.md file for details
