回答編集履歴
1
コードのミス
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
newButton = CGRect(x: 50,y: 50+50*i,width: 200,height: 40)
|
18
18
|
|
19
|
-
newButton = i
|
19
|
+
newButton.tag = i
|
20
20
|
|
21
21
|
Buttons.append(newButton)
|
22
22
|
|