Created
November 26, 2018 12:20
-
-
Save Oni-zerone/a4e380bf6b6725648023c17d968675af to your computer and use it in GitHub Desktop.
An example UICollectionViewCell ready to be used in PowerTools Framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ColorCollectionViewCell: UICollectionViewCell { | |
struct Descriptor: ItemViewDescriptor, GridDescriptor { | |
let reuseIdentifier: String = String(describing: ColorCollectionViewCell.self) | |
let ratio: ViewRatio = ViewRatio(multiplier: 1.6, constant: 0.0) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment