Skip to content

Commit 34397d3

Browse files
committed
fix TestObjectiveC.m aspectRatio
1 parent 47158a3 commit 34397d3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

TestProjects/carthage/ios/PinLayout-Carthage-iOS/TestObjectiveC.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ - (id)initWithFrame:(CGRect)frame {
4545
- (void) layoutSubviews {
4646
[super layoutSubviews];
4747

48-
logo.pinObjc.top().left().width(100).aspectRatio.marginTHB(topLayoutGuide + 10, 10, 10).layout();
48+
logo.pinObjc.top().left().width(100).aspectRatio().marginTHB(topLayoutGuide + 10, 10, 10).layout();
4949
segmented.pinObjc.rightOfAligned(logo, VerticalAlignTop).right().marginHorizontal(10).layout();
5050
textLabel.pinObjc.belowOfAligned(segmented, HorizontalAlignLeft).widthOf(segmented).pinEdges().marginTop(10).sizeToFitType(FitWidth).layout();
5151
separatorView.pinObjc.belowOfViewsAligned(@[logo, textLabel], HorizontalAlignLeft).rightToEdge(segmented.edge.right).height(1).marginTop(10).layout();

TestProjects/cocoapods/ios/PinLayout-iOS/TestObjectiveC.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ - (id)initWithFrame:(CGRect)frame {
4545
- (void) layoutSubviews {
4646
[super layoutSubviews];
4747

48-
logo.pinObjc.top().left().width(100).aspectRatio.marginTHB(topLayoutGuide + 10, 10, 10).layout();
48+
logo.pinObjc.top().left().width(100).aspectRatio().marginTHB(topLayoutGuide + 10, 10, 10).layout();
4949
segmented.pinObjc.rightOfAligned(logo, VerticalAlignTop).right().marginHorizontal(10).layout();
5050
textLabel.pinObjc.belowOfAligned(segmented, HorizontalAlignLeft).widthOf(segmented).pinEdges().marginTop(10).sizeToFitType(FitWidth).layout();
5151
separatorView.pinObjc.belowOfViewsAligned(@[logo, textLabel], HorizontalAlignLeft).rightToEdge(segmented.edge.right).height(1).marginTop(10).layout();

TestProjects/cocoapods/tvos/PinLayout-tvOS/TestObjectiveC.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ - (id)initWithFrame:(CGRect)frame {
4545
- (void) layoutSubviews {
4646
[super layoutSubviews];
4747

48-
logo.pinObjc.top().left().width(100).aspectRatio.marginTHB(topLayoutGuide + 10, 10, 10).layout();
48+
logo.pinObjc.top().left().width(100).aspectRatio().marginTHB(topLayoutGuide + 10, 10, 10).layout();
4949
segmented.pinObjc.rightOfAligned(logo, VerticalAlignTop).right().marginHorizontal(10).layout();
5050
textLabel.pinObjc.belowOfAligned(segmented, HorizontalAlignLeft).widthOf(segmented).pinEdges().marginTop(10).sizeToFitType(FitWidth).layout();
5151
separatorView.pinObjc.belowOfViewsAligned(@[logo, textLabel], HorizontalAlignLeft).rightToEdge(segmented.edge.right).height(1).marginTop(10).layout();

0 commit comments

Comments
 (0)