All Versions
24
Latest Version
Avg Release Cycle
122 days
Latest Release
806 days ago

Changelog History
Page 2

  • v1.3.1 Changes

    • ๐Ÿ›  Fixed podspec.
  • v1.3 Changes

    • Swift 2.3 compatibility.
  • v1.2.1 Changes

    • Now you can apply DimensionAttributes, like Width, Height and Size, to views not in the view hierarchy, i.e. when superview == nil.
  • v1.2 Changes

    • Implemented ContextualConditions, a variant of the Condition closures where a Context struct is passed as parameter to the closure providing some extra information (size class and device) based on the UITraitCollection of the UIView the Attributes 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 }
    
  • v1.1.1 Changes

    • Grouped deactivation of NSLayoutConstraints. Before, the deactivation of NSLayoutConstraints was taking place upon finding a conflict, whereas now a single NSLayoutConstraint.deactivateConstraints(_:) takes place per <-, easy_reload or easy_clear operation.
  • v1.1.0 Changes

    • Now it's possible to combine multipliers with Equal, GreaterThatOrEqual and LessThanOrEqual 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
    
  • v1.0.0 Changes

    • ๐Ÿ‘Œ Improved performance, benchmarks show up to a 250% improvement applying Attributes with the apply operator <-, resolving conflicts and using easy_clear and easy_reload methods.
    • NSLayoutConstraint conflict resolution is more accurate and strict.
    • โž• Added support to NSLayoutGuide.
  • 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 ๐Ÿ‘ the UILayoutSupport protocol.
    view <- [
        Size(100),
        CenterX(0),
        Top(0).to(controller.topLayoutGuide)
    ]
    
  • v0.2.4 Changes

    • 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 }