We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 12acbd6 + b0ae5c4 commit f241d49Copy full SHA for f241d49
1 file changed
GLTableCollectionView/GLCollectionTableViewCell.swift
@@ -107,11 +107,13 @@ class GLCollectionTableViewCell: UITableViewCell {
107
108
It's recommended to keep the variable `public` so it would be easier to
109
access later in the code, for example in UITableView's `dataSource` and
110
- `delegate` methods. For light to mid-heavy implementations `weak` is also
111
- suggested.
+ `delegate` methods.
+
112
+ GLIndexedCollectionView requires a `strong` ARC reference, do not assign a
113
+ `weak` reference otherwise it could result in a crash.
114
115
*/
- weak var collectionView: GLIndexedCollectionView!
116
+ var collectionView: GLIndexedCollectionView!
117
var collectionFlowLayout: GLIndexedCollectionViewFlowLayout!
118
119
/**
0 commit comments