PinLayout
PinLayout copied to clipboard
Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]
like this .
Just came across an unexpected behaviour. Lets says i have a view with 3 subviews that i layout side by side. if i hide one of the views, wrapContent on...
I use `UICollectionViewCompositionalLayout` to layout my collectionView. I have a custom cell A and a custom view B. Cell A's contentView adds B as a subview. Both cell A and...
I wanna a view containing an imageView and a label. But I don't know how to auto size the container. Because the number of lines with the label are undecided...
button.titleEdgeInsets = UIEdgeInsets(top: 0, left: 18, bottom: 0, right: 18) button.titleEdgeInsets.pin.top(10).height(36).hCenter().sizeToFit(.height) Not work! How to make it count UIEdgeInsets? Thank you.
I am trying to resize with animation but it not works. (only animation works) this is my screen recording ![Simulator Screen Recording - iPhone 13 Pro - 2021-12-29 at 19...
UITableviewCells will broken after using View Debugger, they are over each other
Hi! Could not add the possibility of changing views at once for the whole group, as `Stack View`. I'm tired of trying to sort through all possible combinations of methods...
How can I cover the AutoLayout like below to PinLayout. ``` let view1 = UIView() let view2 = UIView() addSubview(view1) addSubview(view2) view1.centerXAnchor.constraint(equalTo: view2.centerYAnchor, constant: -20) view1.widthAnchor.constraint(equalTo: view2.widthAnchor, constant: -20) ```
Thank you for such an incredible library. My issue: In some cases, the text (it's arabic text) goes out of bounds and I can't understand why. I tried calling sizeToFit,...