質問編集履歴

1

書式の改善

2020/09/11 02:01

投稿

biginner01
biginner01

スコア0

test CHANGED
File without changes
test CHANGED
@@ -24,6 +24,40 @@
24
24
 
25
25
  ```ここに言語名を入力
26
26
 
27
+ struct PhotoRow: View {
28
+
29
+ var photo:PhotoDate
30
+
31
+
32
+
33
+ var body: some View {
34
+
35
+ HStack {
36
+
37
+ Image(photo.imageName)
38
+
39
+ .resizable()
40
+
41
+
42
+
43
+ Text("photo.title")
44
+
45
+ Spacer()
46
+
47
+
48
+
49
+ }
50
+
51
+
52
+
53
+ }
54
+
55
+
56
+
57
+ }
58
+
59
+
60
+
27
61
 
28
62
 
29
63
  struct PhotoRow_Previews: PreviewProvider {
@@ -37,6 +71,8 @@
37
71
  }
38
72
 
39
73
  }
74
+
75
+
40
76
 
41
77
  ```
42
78