Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions GLTableCollectionView/GLCollectionTableViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,13 @@ class GLCollectionTableViewCell: UITableViewCell {

It's recommended to keep the variable `public` so it would be easier to
access later in the code, for example in UITableView's `dataSource` and
`delegate` methods. For light to mid-heavy implementations `weak` is also
suggested.
`delegate` methods.

GLIndexedCollectionView requires a `strong` ARC reference, do not assign a
`weak` reference otherwise it could result in a crash.

*/
weak var collectionView: GLIndexedCollectionView!
var collectionView: GLIndexedCollectionView!
var collectionFlowLayout: GLIndexedCollectionViewFlowLayout!

/**
Expand Down