Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add landscape orientation tests #236

Merged
merged 17 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions Tests/LayoutTests/LayoutItemTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -343,21 +343,21 @@ final class LayoutItemTests: XCTestCase {
}

func testCenterBetweenTopAndBottom() {
assertLayout { view in
assertLayout(devices: Device.allTestDevices) { view in
view.layout(
pinkView
.size(width: 200, height: 400)
.size(width: 200, height: 100)
.to(.leading)
.center(between: view.safeAreaLayoutGuide.top, and: view.safeAreaLayoutGuide.bottom)
)
}
}

func testCenterBetweenLeadingAndTrailing() {
assertLayout { view in
assertLayout(devices: Device.allTestDevices) { view in
view.layout(
pinkView
.size(width: 200, height: 400)
.size(width: 200, height: 100)
.to(.top)
.center(between: view.safeAreaLayoutGuide.leading, and: view.safeAreaLayoutGuide.trailing)
)
Expand Down Expand Up @@ -613,7 +613,7 @@ final class LayoutItemTests: XCTestCase {
}

func testToMarginsWithDirectionalEdgeInsetsPriority() {
assertLayout { view in
assertLayout(devices: Device.portraitTestDevices + Device.modernLandscapeTestDevices) { view in
view.layout {

// To Margins with Default Priority
Expand All @@ -634,7 +634,7 @@ final class LayoutItemTests: XCTestCase {
}

func testToMarginsWithCanonicalEdgeInsetsPriority() {
assertLayout { view in
assertLayout(devices: Device.portraitTestDevices + Device.modernLandscapeTestDevices) { view in
view.layout {

// To Margins with Default Priority
Expand All @@ -653,7 +653,7 @@ final class LayoutItemTests: XCTestCase {
}

func testToMarginsWithDirectionalEdgesInsetPriority() {
assertLayout { view in
assertLayout(devices: Device.portraitTestDevices + Device.modernLandscapeTestDevices) { view in
view.layout {

// To Margins with Default Inset and Priority
Expand All @@ -677,7 +677,7 @@ final class LayoutItemTests: XCTestCase {
}

func testToMarginsWithCanonicalEdgesInsetPriority() {
assertLayout { view in
assertLayout(devices: Device.portraitTestDevices + Device.modernLandscapeTestDevices) { view in
view.layout {

// To Margins with Default Inset and Priority
Expand Down Expand Up @@ -707,7 +707,7 @@ final class LayoutItemTests: XCTestCase {
}

func testToSideMarginsWithInsetPriority() {
assertLayout { view in
assertLayout(devices: Device.portraitTestDevices + Device.modernLandscapeTestDevices) { view in
view.layout {

// To Side Margins with Default Inset and Priority
Expand Down Expand Up @@ -737,7 +737,7 @@ final class LayoutItemTests: XCTestCase {
}

func testToBottomMargin_andWithPriority() {
assertLayout { view in
assertLayout(devices: Device.portraitTestDevices + Device.modernLandscapeTestDevices) { view in
view.layout {

// To Bottom Margin Leading with Default Priority
Expand All @@ -760,7 +760,7 @@ final class LayoutItemTests: XCTestCase {
}

func testToSafeAreaWithDirectionalEdgeInsetsPriority() {
assertLayout { view in
assertLayout(devices: Device.allTestDevices) { view in
view.layout {

// To Safe Area with Insets and Default Priority
Expand All @@ -786,7 +786,7 @@ final class LayoutItemTests: XCTestCase {
}

func testToSafeAreaWithCanonicalEdgeInsetsPriority() {
assertLayout { view in
assertLayout(devices: Device.allTestDevices) { view in
view.layout {

// To Safe Area with Insets and Default Priority
Expand All @@ -805,7 +805,7 @@ final class LayoutItemTests: XCTestCase {
}

func testToSafeAreaWithDirectionalEdgesInsetPriority() {
assertLayout { view in
assertLayout(devices: Device.allTestDevices) { view in
view.layout {

// To Safe Area with Default Priority
Expand All @@ -824,7 +824,7 @@ final class LayoutItemTests: XCTestCase {
}

func testToSafeAreaWithCanonicalEdgesInsetPriority() {
assertLayout { view in
assertLayout(devices: Device.allTestDevices) { view in
view.layout {

// To Safe Area with Default Edges, Inset and Priority
Expand Down
14 changes: 14 additions & 0 deletions Tests/LayoutTests/Support/Device.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,20 @@ internal enum Device: CustomStringConvertible {
]
}

/// Used to avoid a bug causing invalid snapshots on devices with a home button.
///
/// May be removed and replaced with `allTestDevices` once snapshot issue is fixed.
///
/// See filed [issue](https://github.com/pointfreeco/swift-snapshot-testing/issues/750) and
/// [pull request](https://github.com/pointfreeco/swift-snapshot-testing/pull/757) for more information.
internal static var modernLandscapeTestDevices: [Self] {
tinder-emanharoutunian marked this conversation as resolved.
Show resolved Hide resolved
[
.iPhoneX(.landscape),
.iPhone13(.landscape),
.iPhone13mini(.landscape)
]
}

internal var description: String {
name
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<View; frame = (x: 0, y: 0, width: 844, height: 390)>
| <View; name = Pink; frame = (x: 322, y: 0, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 306, y: 0, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<View; frame = (x: 0, y: 0, width: 375, height: 812)>
| <View; name = Pink; frame = (x: 87.666667, y: 0, width: 200, height: 400)>
| <View; name = Pink; frame = (x: 87.666667, y: 0, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<View; frame = (x: 0, y: 0, width: 390, height: 844)>
| <View; name = Pink; frame = (x: 95, y: 0, width: 200, height: 400)>
| <View; name = Pink; frame = (x: 95, y: 0, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<View; frame = (x: 0, y: 0, width: 667, height: 375)>
| <View; name = Pink; frame = (x: 233.666667, y: 0, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<View; frame = (x: 0, y: 0, width: 375, height: 667)>
| <View; name = Pink; frame = (x: 87.666667, y: 0, width: 200, height: 400)>
| <View; name = Pink; frame = (x: 87.666667, y: 0, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<View; frame = (x: 0, y: 0, width: 568, height: 320)>
| <View; name = Pink; frame = (x: 184, y: 0, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<View; frame = (x: 0, y: 0, width: 320, height: 568)>
| <View; name = Pink; frame = (x: 60, y: 0, width: 200, height: 400)>
| <View; name = Pink; frame = (x: 60, y: 0, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 306, y: 0, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<View; frame = (x: 0, y: 0, width: 375, height: 812)>
| <View; name = Pink; frame = (x: 87.666667, y: 0, width: 200, height: 400)>
| <View; name = Pink; frame = (x: 87.666667, y: 0, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<View; frame = (x: 0, y: 0, width: 844, height: 390)>
| <View; name = Pink; frame = (x: 0, y: 134.666667, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 0, y: 127, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<View; frame = (x: 0, y: 0, width: 375, height: 812)>
| <View; name = Pink; frame = (x: 0, y: 214, width: 200, height: 400)>
| <View; name = Pink; frame = (x: 0, y: 364, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<View; frame = (x: 0, y: 0, width: 390, height: 844)>
| <View; name = Pink; frame = (x: 0, y: 228.666667, width: 200, height: 400)>
| <View; name = Pink; frame = (x: 0, y: 378.666667, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<View; frame = (x: 0, y: 0, width: 667, height: 375)>
| <View; name = Pink; frame = (x: 0, y: 137.666667, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<View; frame = (x: 0, y: 0, width: 375, height: 667)>
| <View; name = Pink; frame = (x: 0, y: 143.666667, width: 200, height: 400)>
| <View; name = Pink; frame = (x: 0, y: 293.666667, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<View; frame = (x: 0, y: 0, width: 568, height: 320)>
| <View; name = Pink; frame = (x: 0, y: 110, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<View; frame = (x: 0, y: 0, width: 320, height: 568)>
| <View; name = Pink; frame = (x: 0, y: 94, width: 200, height: 400)>
| <View; name = Pink; frame = (x: 0, y: 244, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 0, y: 125.666667, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<View; frame = (x: 0, y: 0, width: 375, height: 812)>
| <View; name = Pink; frame = (x: 0, y: 211, width: 200, height: 400)>
| <View; name = Pink; frame = (x: 0, y: 361, width: 200, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 844, height: 390)>
| <View; name = Pink; frame = (x: 0, y: 190, width: 100, height: 100)>
| <View; name = Blue; frame = (x: 744, y: 190, width: 100, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 0, y: 175, width: 100, height: 100)>
| <View; name = Blue; frame = (x: 712, y: 175, width: 100, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 0, y: 175, width: 100, height: 100)>
| <View; name = Blue; frame = (x: 712, y: 175, width: 100, height: 100)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 844, height: 390)>
| <View; name = Pink; frame = (x: 83, y: 10, width: 618, height: 319)>
| <View; name = Blue; frame = (x: 93, y: 20, width: 598, height: 299)>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 86, y: 10, width: 580, height: 304)>
| <View; name = Blue; frame = (x: 96, y: 20, width: 560, height: 284)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 80, y: 10, width: 592, height: 301)>
| <View; name = Blue; frame = (x: 90, y: 20, width: 572, height: 281)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<View; frame = (x: 0, y: 0, width: 844, height: 390)>
| <View; name = Pink; frame = (x: 63, y: 0, width: 718, height: 369)>
| <View; name = Blue; frame = (x: 88, y: 25, width: 668, height: 319)>
| <View; name = Orange; frame = (x: 113, y: 50, width: 618, height: 269)>
| <View; name = Yellow; frame = (x: 138, y: 75, width: 50, height: 50)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 66, y: 0, width: 680, height: 354)>
| <View; name = Blue; frame = (x: 91, y: 25, width: 630, height: 304)>
| <View; name = Orange; frame = (x: 116, y: 50, width: 580, height: 254)>
| <View; name = Yellow; frame = (x: 141, y: 75, width: 50, height: 50)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 60, y: 0, width: 692, height: 351)>
| <View; name = Blue; frame = (x: 85, y: 25, width: 642, height: 301)>
| <View; name = Orange; frame = (x: 110, y: 50, width: 592, height: 251)>
| <View; name = Yellow; frame = (x: 135, y: 75, width: 50, height: 50)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 844, height: 390)>
| <View; name = Pink; frame = (x: 63, y: 0, width: 718, height: 369)>
| <View; name = Blue; frame = (x: 93, y: 20, width: 598, height: 299)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 66, y: 0, width: 680, height: 354)>
| <View; name = Blue; frame = (x: 96, y: 20, width: 560, height: 284)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 60, y: 0, width: 692, height: 351)>
| <View; name = Blue; frame = (x: 90, y: 20, width: 572, height: 281)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<View; frame = (x: 0, y: 0, width: 844, height: 390)>
| <View; name = Pink; frame = (x: 63, y: 0, width: 718, height: 369)>
| <View; name = Blue; frame = (x: 88, y: 25, width: 668, height: 319)>
| <View; name = Orange; frame = (x: 113, y: 50, width: 618, height: 269)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 66, y: 0, width: 680, height: 354)>
| <View; name = Blue; frame = (x: 91, y: 25, width: 630, height: 304)>
| <View; name = Orange; frame = (x: 116, y: 50, width: 580, height: 254)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 60, y: 0, width: 692, height: 351)>
| <View; name = Blue; frame = (x: 85, y: 25, width: 642, height: 301)>
| <View; name = Orange; frame = (x: 110, y: 50, width: 592, height: 251)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 844, height: 390)>
| <View; name = Pink; frame = (x: 52, y: 0, width: 730, height: 359)>
| <View; name = Yellow; frame = (x: 97, y: 50, width: 650, height: 269)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 55, y: 0, width: 692, height: 344)>
| <View; name = Yellow; frame = (x: 100, y: 50, width: 612, height: 254)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 667, height: 375)>
| <View; name = Pink; frame = (x: 5, y: 0, width: 647, height: 365)>
| <View; name = Yellow; frame = (x: 50, y: 50, width: 567, height: 275)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 568, height: 320)>
| <View; name = Pink; frame = (x: 5, y: 0, width: 548, height: 310)>
| <View; name = Yellow; frame = (x: 50, y: 50, width: 468, height: 220)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 49, y: 0, width: 704, height: 341)>
| <View; name = Yellow; frame = (x: 94, y: 50, width: 624, height: 251)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<View; frame = (x: 0, y: 0, width: 844, height: 390)>
| <View; name = Pink; frame = (x: 47, y: 0, width: 750, height: 369)>
| <View; name = Blue; frame = (x: 97, y: 50, width: 650, height: 269)>
| <View; name = Orange; frame = (x: 122, y: 75, width: 600, height: 219)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 50, y: 0, width: 712, height: 354)>
| <View; name = Blue; frame = (x: 100, y: 50, width: 612, height: 254)>
| <View; name = Orange; frame = (x: 125, y: 75, width: 562, height: 204)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<View; frame = (x: 0, y: 0, width: 667, height: 375)>
| <View; name = Pink; frame = (x: 0, y: 0, width: 667, height: 375)>
| <View; name = Blue; frame = (x: 50, y: 50, width: 567, height: 275)>
| <View; name = Orange; frame = (x: 75, y: 75, width: 517, height: 225)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<View; frame = (x: 0, y: 0, width: 568, height: 320)>
| <View; name = Pink; frame = (x: 0, y: 0, width: 568, height: 320)>
| <View; name = Blue; frame = (x: 50, y: 50, width: 468, height: 220)>
| <View; name = Orange; frame = (x: 75, y: 75, width: 418, height: 170)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 44, y: 0, width: 724, height: 351)>
| <View; name = Blue; frame = (x: 94, y: 50, width: 624, height: 251)>
| <View; name = Orange; frame = (x: 119, y: 75, width: 574, height: 201)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 844, height: 390)>
| <View; name = Pink; frame = (x: 52, y: 0, width: 730, height: 359)>
| <View; name = Yellow; frame = (x: 97, y: 50, width: 650, height: 269)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 812, height: 375)>
| <View; name = Pink; frame = (x: 55, y: 0, width: 692, height: 344)>
| <View; name = Yellow; frame = (x: 100, y: 50, width: 612, height: 254)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 667, height: 375)>
| <View; name = Pink; frame = (x: 5, y: 0, width: 647, height: 365)>
| <View; name = Yellow; frame = (x: 50, y: 50, width: 567, height: 275)>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<View; frame = (x: 0, y: 0, width: 568, height: 320)>
| <View; name = Pink; frame = (x: 5, y: 0, width: 548, height: 310)>
| <View; name = Yellow; frame = (x: 50, y: 50, width: 468, height: 220)>
Loading