回答編集履歴
3
加筆
answer
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
> button.addTarget(self, action: #selector(handleEditProfileFollow), for: .editingChanged)
|
2
2
|
|
3
3
|
のforのあとを`.touchUpInside`にしてください。
|
4
|
-
(あれ変わってた?)
|
4
|
+
(あれ変わってた?)
|
5
|
+
|
6
|
+
> @objc func handleEditProfileFollow() {
|
7
|
+
|
8
|
+
は`@objc func handleEditProfileFollow(_ sender: UIButton) {`の方が良いかもしれません。
|
2
2
answer
CHANGED
@@ -1,3 +1,4 @@
|
|
1
1
|
> button.addTarget(self, action: #selector(handleEditProfileFollow), for: .editingChanged)
|
2
2
|
|
3
|
-
のforのあとを`.touchUpInside`にしてください
|
3
|
+
のforのあとを`.touchUpInside`にしてください。
|
4
|
+
(あれ変わってた?)
|
1
1
answer
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
> button.addTarget(self, action: #selector(handleEditProfileFollow), for: .editingChanged)
|
2
2
|
|
3
|
-
のforのあとを`.
|
3
|
+
のforのあとを`.touchUpInside`にしてください(あれ変わってた?)。
|