All Versions
24
Latest Version
Avg Release Cycle
122 days
Latest Release
1467 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v1.3.1 Changes
- ๐ Fixed
podspec
.
- ๐ Fixed
-
v1.3 Changes
- Swift 2.3 compatibility.
-
v1.2.1 Changes
- Now you can apply
DimensionAttributes
, likeWidth
,Height
andSize
, to views not in the view hierarchy, i.e. whensuperview == nil
.
- Now you can apply
-
v1.2 Changes
- Implemented
ContextualConditions
, a variant of theCondition
closures where aContext
struct is passed as parameter to the closure providing some extra information (size class and device) based on theUITraitCollection
of theUIView
theAttributes
are going to be applied to. Examples:
view <- [ Size(250), Center(0) ].when { $0.isHorizontalRegular }
view <- [ Top(0), Left(0), Right(0), Height(250) ].when { $0.isPad }
- Implemented
-
v1.1.1 Changes
- Grouped deactivation of
NSLayoutConstraints
. Before, the deactivation ofNSLayoutConstraints
was taking place upon finding a conflict, whereas now a singleNSLayoutConstraint.deactivateConstraints(_:)
takes place per<-
,easy_reload
oreasy_clear
operation.
- Grouped deactivation of
-
v1.1.0 Changes
- Now it's possible to combine
multipliers
withEqual
,GreaterThatOrEqual
andLessThanOrEqual
relations.
// i.e. Width(>=20*0.5) // value = 20, multiplier = 0.5, relation = .GreaterThanOrEqual Width(<=20*0.5) // value = 20, multiplier = 0.5, relation = .LessThanOrEqual Width(==20*0.5) // value = 20, multiplier = 0.5, relation = .Equal
- Now it's possible to combine
-
v1.0.0 Changes
- ๐ Improved performance, benchmarks show up to a 250% improvement applying
Attributes
with the apply operator<-
, resolving conflicts and usingeasy_clear
andeasy_reload
methods. NSLayoutConstraint
conflict resolution is more accurate and strict.- โ Added support to
NSLayoutGuide
.
- ๐ Improved performance, benchmarks show up to a 250% improvement applying
-
v0.3.0 Changes
- ๐ Supported tvOS and OS X.
- โ Added OS X sample project.
-
v0.2.5 Changes
- โ Added support to
UIViewController
top and bottom layout guides that conform ๐ theUILayoutSupport
protocol.
view <- [ Size(100), CenterX(0), Top(0).to(controller.topLayoutGuide) ]
- โ Added support to
-
v0.2.4 Changes
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 }