質問編集履歴

1

追記

2021/02/22 12:08

投稿

momokoko
momokoko

スコア38

test CHANGED
File without changes
test CHANGED
@@ -16,6 +16,10 @@
16
16
 
17
17
 
18
18
 
19
+ 他のプロパティも
20
+
21
+
22
+
19
23
  ```ここに言語を入力
20
24
 
21
25
  // RegistrationController.swift
@@ -40,6 +44,8 @@
40
44
 
41
45
  // プッシュしたボタンはなぜ、色が変わるか
42
46
 
47
+ -----------------------------------①-------------------------------------------------
48
+
43
49
  private let plushPhotoButton: UIButton = {
44
50
 
45
51
  let button = UIButton(type: .system)
@@ -54,6 +60,10 @@
54
60
 
55
61
  }()
56
62
 
63
+ -------------------------------------------------------------------------------------
64
+
65
+
66
+
57
67
 
58
68
 
59
69
  private let emailTextField: CustomTextField = {
@@ -100,22 +110,20 @@
100
110
 
101
111
  }()
102
112
 
113
+ private let alreadyHaveAccountButton: UIButton = {
114
+
115
+ let button = UIButton(type: .system)
116
+
117
+ button.attributedTitle(firstPart: "Already have an account", secondPart: "Sign Up")
118
+
119
+ button.addTarget(self, action: #selector(handleShowSignUp), for: .touchUpInside)
120
+
121
+ return button
122
+
123
+ }()
124
+
103
125
  --------------------------------------------------------------------------------------
104
126
 
105
- private let alreadyHaveAccountButton: UIButton = {
106
-
107
- let button = UIButton(type: .system)
108
-
109
- button.attributedTitle(firstPart: "Already have an account", secondPart: "Sign Up")
110
-
111
- button.addTarget(self, action: #selector(handleShowSignUp), for: .touchUpInside)
112
-
113
- return button
114
-
115
- }()
116
-
117
-
118
-
119
127
  // MARK: - Lifecycle
120
128
 
121
129
  override func viewDidLoad() {