回答編集履歴
1
ソースにselfが抜けている部分があったため、統一のために修正
test
CHANGED
@@ -76,9 +76,9 @@
|
|
76
76
|
|
77
77
|
get {
|
78
78
|
|
79
|
-
let offset = collectionView.contentOffset
|
79
|
+
let offset = self.collectionView.contentOffset
|
80
80
|
|
81
|
-
let frameSize = collectionView.frame.size
|
81
|
+
let frameSize = self.collectionView.frame.size
|
82
82
|
|
83
83
|
let centerX = frameSize.width * 0.5
|
84
84
|
|