PinLayout icon indicating copy to clipboard operation
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]

Results 28 PinLayout issues
Sort by recently updated
recently updated
newest added

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...

enhancement

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...

question

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...

enhancement

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) ```

question

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,...