File tree Expand file tree Collapse file tree 4 files changed +14
-14
lines changed
carthage/ios/PinLayout-Carthage-iOS Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ - (id)initWithFrame:(CGRect)frame {
4545- (void ) layoutSubviews {
4646 [super layoutSubviews ];
4747
48- [[[[[[ logo.pinObjc top ] left ] width: 100 ] aspectRatio ] marginWithTop: topLayoutGuide + 10 horizontal: 10 bottom: 10 ] layout ] ;
49- [[[[ segmented.pinObjc rightOf: logo aligned: VerticalAlignTop] right ] marginHorizontal: 10 ] layout ] ;
50- [[[[[[ textLabel.pinObjc belowOf: segmented aligned: HorizontalAlignLeft] widthOf: segmented] pinEdges ] marginTop: 10 ] sizeToFit: FitWidth] layout ] ;
51- [[[[[ separatorView.pinObjc belowOfViews: @[logo, textLabel] aligned: HorizontalAlignLeft] rightTo: segmented.edge.right] height: 1 ] marginTop: 10 ] layout ] ;
48+ logo.pinObjc . top (). left (). width ( 100 ). aspectRatio . marginTHB ( topLayoutGuide + 10 , 10 , 10 ). layout () ;
49+ segmented.pinObjc . rightOfAligned ( logo, VerticalAlignTop). right (). marginHorizontal ( 10 ). layout () ;
50+ textLabel.pinObjc . belowOfAligned ( segmented, HorizontalAlignLeft). widthOf ( segmented). pinEdges (). marginTop ( 10 ). sizeToFitType ( FitWidth). layout () ;
51+ separatorView.pinObjc . belowOfViewsAligned ( @[logo, textLabel], HorizontalAlignLeft). rightToEdge ( segmented.edge .right ). height ( 1 ). marginTop ( 10 ). layout () ;
5252}
5353
5454@end
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ - (id)initWithFrame:(CGRect)frame {
4545- (void ) layoutSubviews {
4646 [super layoutSubviews ];
4747
48- [[[[[[ logo.pinObjc top ] left ] width: 100 ] aspectRatio ] marginWithTop: topLayoutGuide + 10 horizontal: 10 bottom: 10 ] layout ] ;
49- [[[[ segmented.pinObjc rightOf: logo aligned: VerticalAlignTop] right ] marginHorizontal: 10 ] layout ] ;
50- [[[[[[ textLabel.pinObjc belowOf: segmented aligned: HorizontalAlignLeft] widthOf: segmented] pinEdges ] marginTop: 10 ] sizeToFit: FitWidth] layout ] ;
51- [[[[[ separatorView.pinObjc belowOfViews: @[logo, textLabel] aligned: HorizontalAlignLeft] rightTo: segmented.edge.right] height: 1 ] marginTop: 10 ] layout ] ;
48+ logo.pinObjc . top (). left (). width ( 100 ). aspectRatio . marginTHB ( topLayoutGuide + 10 , 10 , 10 ). layout () ;
49+ segmented.pinObjc . rightOfAligned ( logo, VerticalAlignTop). right (). marginHorizontal ( 10 ). layout () ;
50+ textLabel.pinObjc . belowOfAligned ( segmented, HorizontalAlignLeft). widthOf ( segmented). pinEdges (). marginTop ( 10 ). sizeToFitType ( FitWidth). layout () ;
51+ separatorView.pinObjc . belowOfViewsAligned ( @[logo, textLabel], HorizontalAlignLeft). rightToEdge ( segmented.edge .right ). height ( 1 ). marginTop ( 10 ). layout () ;
5252}
5353
5454@end
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ - (id)initWithFrame:(CGRect)frame {
2727- (void )layout {
2828 [super layout ];
2929
30- [[[[[ logo.pinObjc top ] left ] width: 100 ] marginWithTop: topLayoutGuide + 10 horizontal: 10 bottom: 10 ] layout ] ;
31- [[[[ separatorView.pinObjc belowOf: logo aligned: HorizontalAlignLeft] height: 1 ] marginTop: 10 ] layout ] ;
30+ logo.pinObjc . top (). left (). width ( 100 ). marginTHB ( topLayoutGuide + 10 , 10 , 10 ). layout () ;
31+ separatorView.pinObjc . belowOfAligned ( logo, HorizontalAlignLeft). height ( 1 ). marginTop ( 10 ). layout () ;
3232}
3333
3434@end
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ - (id)initWithFrame:(CGRect)frame {
4545- (void ) layoutSubviews {
4646 [super layoutSubviews ];
4747
48- [[[[[[ logo.pinObjc top ] left ] width: 100 ] aspectRatio ] marginWithTop: topLayoutGuide + 10 horizontal: 10 bottom: 10 ] layout ] ;
49- [[[[ segmented.pinObjc rightOf: logo aligned: VerticalAlignTop] right ] marginHorizontal: 10 ] layout ] ;
50- [[[[[[ textLabel.pinObjc belowOf: segmented aligned: HorizontalAlignLeft] widthOf: segmented] pinEdges ] marginTop: 10 ] sizeToFit: FitWidth] layout ] ;
51- [[[[[ separatorView.pinObjc belowOfViews: @[logo, textLabel] aligned: HorizontalAlignLeft] rightTo: segmented.edge.right] height: 1 ] marginTop: 10 ] layout ] ;
48+ logo.pinObjc . top (). left (). width ( 100 ). aspectRatio . marginTHB ( topLayoutGuide + 10 , 10 , 10 ). layout () ;
49+ segmented.pinObjc . rightOfAligned ( logo, VerticalAlignTop). right (). marginHorizontal ( 10 ). layout () ;
50+ textLabel.pinObjc . belowOfAligned ( segmented, HorizontalAlignLeft). widthOf ( segmented). pinEdges (). marginTop ( 10 ). sizeToFitType ( FitWidth). layout () ;
51+ separatorView.pinObjc . belowOfViewsAligned ( @[logo, textLabel], HorizontalAlignLeft). rightToEdge ( segmented.edge .right ). height ( 1 ). marginTop ( 10 ). layout () ;
5252}
5353
5454@end
You can’t perform that action at this time.
0 commit comments