wayfair-archive / brickkit-ios

DEPRECATED - BrickKit For IOS
Apache License 2.0
605 stars 57 forks source link

Insets based of size class #192

Open jay18001 opened 7 years ago

jay18001 commented 7 years ago

We should add a way of specifying insets based off size class because the current way is to do something like BrickSection(bricks: [...], inset: self.traitCollection.horizontalSizeClass == .compact ? 0 : 8). We should do something like Brick Dimension.