質問編集履歴
3
スペル修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
|
52
52
|
|
53
|
-
func T
|
53
|
+
func Title() -> String {
|
54
54
|
|
55
55
|
guard let titleText = UserDefaults.standard.string(forKey: "Titlte") else {
|
56
56
|
|
2
ついき
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,11 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
+
関数化した返り値をlabelに渡したいです
|
11
12
|
|
13
|
+
nilなら→タイトルはありません
|
14
|
+
|
15
|
+
!= nil ならUserdefaultsの値を渡す
|
12
16
|
|
13
17
|
|
14
18
|
|
1
ついき
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,6 +30,22 @@
|
|
30
30
|
|
31
31
|
```ここに言語名を入力
|
32
32
|
|
33
|
+
|
34
|
+
|
35
|
+
override func viewDidLoad() {
|
36
|
+
|
37
|
+
super.viewDidLoad()
|
38
|
+
|
39
|
+
...
|
40
|
+
|
41
|
+
self.Title()
|
42
|
+
|
43
|
+
...
|
44
|
+
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
|
33
49
|
func Ttitle() -> String {
|
34
50
|
|
35
51
|
guard let titleText = UserDefaults.standard.string(forKey: "Titlte") else {
|