Skip to content

Commit 9916369

Browse files
committed
Release 0.0.2
1 parent bd4b435 commit 9916369

30 files changed

+4623
-419
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.network.client</key>
8+
<true/>
9+
</dict>
10+
</plist>

LayoutUI-Playground/LayoutUI-Playground.xcodeproj/project.pbxproj

Lines changed: 524 additions & 0 deletions
Large diffs are not rendered by default.

LayoutUI-Playground/LayoutUI-Playground.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"colors" : [
3+
{
4+
"idiom" : "universal"
5+
}
6+
],
7+
"info" : {
8+
"author" : "xcode",
9+
"version" : 1
10+
}
11+
}
Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "iphone",
5+
"scale" : "2x",
6+
"size" : "20x20"
7+
},
8+
{
9+
"idiom" : "iphone",
10+
"scale" : "3x",
11+
"size" : "20x20"
12+
},
13+
{
14+
"idiom" : "iphone",
15+
"scale" : "2x",
16+
"size" : "29x29"
17+
},
18+
{
19+
"idiom" : "iphone",
20+
"scale" : "3x",
21+
"size" : "29x29"
22+
},
23+
{
24+
"idiom" : "iphone",
25+
"scale" : "2x",
26+
"size" : "40x40"
27+
},
28+
{
29+
"idiom" : "iphone",
30+
"scale" : "3x",
31+
"size" : "40x40"
32+
},
33+
{
34+
"idiom" : "iphone",
35+
"scale" : "2x",
36+
"size" : "60x60"
37+
},
38+
{
39+
"idiom" : "iphone",
40+
"scale" : "3x",
41+
"size" : "60x60"
42+
},
43+
{
44+
"idiom" : "ipad",
45+
"scale" : "1x",
46+
"size" : "20x20"
47+
},
48+
{
49+
"idiom" : "ipad",
50+
"scale" : "2x",
51+
"size" : "20x20"
52+
},
53+
{
54+
"idiom" : "ipad",
55+
"scale" : "1x",
56+
"size" : "29x29"
57+
},
58+
{
59+
"idiom" : "ipad",
60+
"scale" : "2x",
61+
"size" : "29x29"
62+
},
63+
{
64+
"idiom" : "ipad",
65+
"scale" : "1x",
66+
"size" : "40x40"
67+
},
68+
{
69+
"idiom" : "ipad",
70+
"scale" : "2x",
71+
"size" : "40x40"
72+
},
73+
{
74+
"idiom" : "ipad",
75+
"scale" : "2x",
76+
"size" : "76x76"
77+
},
78+
{
79+
"idiom" : "ipad",
80+
"scale" : "2x",
81+
"size" : "83.5x83.5"
82+
},
83+
{
84+
"idiom" : "ios-marketing",
85+
"scale" : "1x",
86+
"size" : "1024x1024"
87+
},
88+
{
89+
"idiom" : "mac",
90+
"scale" : "1x",
91+
"size" : "16x16"
92+
},
93+
{
94+
"idiom" : "mac",
95+
"scale" : "2x",
96+
"size" : "16x16"
97+
},
98+
{
99+
"idiom" : "mac",
100+
"scale" : "1x",
101+
"size" : "32x32"
102+
},
103+
{
104+
"idiom" : "mac",
105+
"scale" : "2x",
106+
"size" : "32x32"
107+
},
108+
{
109+
"idiom" : "mac",
110+
"scale" : "1x",
111+
"size" : "128x128"
112+
},
113+
{
114+
"idiom" : "mac",
115+
"scale" : "2x",
116+
"size" : "128x128"
117+
},
118+
{
119+
"idiom" : "mac",
120+
"scale" : "1x",
121+
"size" : "256x256"
122+
},
123+
{
124+
"idiom" : "mac",
125+
"scale" : "2x",
126+
"size" : "256x256"
127+
},
128+
{
129+
"idiom" : "mac",
130+
"scale" : "1x",
131+
"size" : "512x512"
132+
},
133+
{
134+
"idiom" : "mac",
135+
"scale" : "2x",
136+
"size" : "512x512"
137+
}
138+
],
139+
"info" : {
140+
"author" : "xcode",
141+
"version" : 1
142+
}
143+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"author" : "xcode",
4+
"version" : 1
5+
}
6+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
//
2+
// ContentView.swift
3+
// Shared
4+
//
5+
// Created by Denis Koryttsev on 06.07.2022.
6+
//
7+
8+
import SwiftUI
9+
10+
struct ContentView: View {
11+
@State var swiftUI: Bool = false
12+
@State var uiKitAppKit: Bool = false
13+
@State var reusableLayout: Bool = false
14+
var body: some View {
15+
NavigationView {
16+
VStack {
17+
NavigationLink("SwiftUI", isActive: $swiftUI) {
18+
SwiftUIView()
19+
.ignoresSafeArea()
20+
}
21+
NavigationLink("UIKit/AppKit", isActive: $uiKitAppKit) {
22+
TestLayoutView()
23+
.ignoresSafeArea()
24+
}
25+
NavigationLink("Reusable layout", isActive: $reusableLayout) {
26+
TestLayoutTableView()
27+
.ignoresSafeArea()
28+
.navigationTitle("Reusable layout scheme")
29+
}
30+
#if os(macOS)
31+
if swiftUI || uiKitAppKit || reusableLayout {
32+
Button("Back") {
33+
swiftUI = false
34+
uiKitAppKit = false
35+
reusableLayout = false
36+
}
37+
}
38+
#endif
39+
}
40+
.ignoresSafeArea()
41+
}
42+
}
43+
}
44+
45+
struct ContentView_Previews: PreviewProvider {
46+
static var previews: some View {
47+
ContentView()
48+
}
49+
}

0 commit comments

Comments
 (0)