Skip to content

Commit 9ec67f4

Browse files
committed
- GLIndexedCollectionView func signature updated to Swift 3 guidelines
1 parent 4d9e4fa commit 9ec67f4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Classes/GLCollectionTableViewCell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class GLCollectionTableViewCell: UITableViewCell {
208208
will come from.
209209

210210
*/
211-
func setCollectionViewDataSourceDelegate(dataSource: UICollectionViewDataSource, delegate: UICollectionViewDelegate, indexPath: IndexPath) {
211+
func setCollectionView(dataSource: UICollectionViewDataSource, delegate: UICollectionViewDelegate, indexPath: IndexPath) {
212212
collectionView.indexPath = indexPath
213213

214214
if collectionView.dataSource == nil {

Classes/GLTableCollectionViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class GLTableCollectionViewController: UITableViewController, UICollectionViewDa
143143
return
144144
}
145145

146-
cell.setCollectionViewDataSourceDelegate(dataSource: self, delegate: self, indexPath: indexPath)
146+
cell.setCollectionView(dataSource: self, delegate: self, indexPath: indexPath)
147147
}
148148

149149
// MARK: <UICollectionView Data Source>

0 commit comments

Comments
 (0)