回答編集履歴
1
訂正
test
CHANGED
@@ -12,10 +12,20 @@
|
|
12
12
|
|
13
13
|
case second = 1
|
14
14
|
|
15
|
-
case third = 2
|
15
|
+
case third = 2
|
16
16
|
|
17
|
-
|
17
|
+
}
|
18
18
|
|
19
|
+
|
20
|
+
|
21
|
+
func segmentedControlDidTap(_ sender: UISegmentedControl) {
|
22
|
+
|
23
|
+
guard let s = Status(rawValue: sender.selectedSegmentIndex) else { return }
|
24
|
+
|
19
|
-
|
25
|
+
status = s
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
20
30
|
|
21
31
|
```
|