EasyPeasy v0.2.4 Release Notes
-
Priorities
andConditions
now can be easily applied to anArray
ofAttributes
.
view <- [ Width(200), Height(240) ].when { Device() == .iPad } view <- [ Width(120), Height(140) ].when { Device() == .iPhone }
Priorities
and Conditions
now can be easily applied to an Array
of Attributes
.view <- [
Width(200),
Height(240)
].when { Device() == .iPad }
view <- [
Width(120),
Height(140)
].when { Device() == .iPhone }