PinLayout v1.2.3 Release Notes

  • ๐Ÿ”„ Change

    • โš  Warnings now display more context information

      • The class name of the view being layouted.
      • The view's current frame
      • The class name of all superviews
      • The view's Tag

      Examples:

      • ๐Ÿ‘‰ PinLayout Warning: width(50.0%) won't be applied, the view (UIView) must be added as a sub-view before being layouted using this method.
        (Layouted view info: Type: UIView, Frame: (10.0, 10.0, 20.0, 30.0), Tag: 0)
      • ๐Ÿ‘‰ PinLayout Warning: width(-20.0) won't be applied, the width (-20.0) must be greater than or equal to zero.
        (Layouted view info: Type: ItemButton, Frame: (140.0, 100.0, 100.0, 60.0), Superviews: HomeView -> UIView, Tag: 0)
      • ๐Ÿ‘‰ PinLayout Warning: topLeft(to: .topLeft, of: (UIView, Frame: (10.0, 10.0, 10.0, 10.0))) won't be applied, the reference view (UIView, Frame: (10.0, 10.0, 10.0, 10.0)) must be added as a sub-view before being used as a reference.
        (Layouted view info: Type: UIView, Frame: (140.0, 100.0, 100.0, 60.0), Superviews: UIView -> UIView, Tag: 0)
      • Added by Luc Dion in Pull Request #75