kill IGListCollectionView. GH issue #409

Summary: Remove `IGListCollectionView` per #409. Use plain old `UICollectionView`.

Reviewed By: rnystrom

Differential Revision: D4640425

fbshipit-source-id: 871b75eaeb1c9f2a40fe8f3fd81b209661704587
This commit is contained in:
Jesse Squires
2017-03-06 14:54:21 -08:00
committed by Facebook Github Bot
parent 2e996e283e
commit 3fb2ac0d60
100 changed files with 1073 additions and 1174 deletions

View File

@@ -20,7 +20,8 @@ final class EmptyViewController: UIViewController, IGListAdapterDataSource, Remo
lazy var adapter: IGListAdapter = {
return IGListAdapter(updater: IGListAdapterUpdater(), viewController: self, workingRangeSize: 0)
}()
let collectionView = IGListCollectionView(frame: .zero, collectionViewLayout: UICollectionViewFlowLayout())
let collectionView = UICollectionView(frame: .zero, collectionViewLayout: UICollectionViewFlowLayout())
let emptyLabel: UILabel = {
let label = UILabel()
@@ -32,12 +33,8 @@ final class EmptyViewController: UIViewController, IGListAdapterDataSource, Remo
}()
var tally = 4
var data = [
1,
2,
3,
4
]
var data = [1, 2, 3, 4]
override func viewDidLoad() {
super.viewDidLoad()
@@ -87,5 +84,5 @@ final class EmptyViewController: UIViewController, IGListAdapterDataSource, Remo
data.remove(at: index)
adapter.performUpdates(animated: true, completion: nil)
}
}