-
IRMultiplePlayers is a multiple video players for iOS.
-
Using the video player(IRPlayer).
-
Using MVVM collectionView/tableView stucture(IRCollectionTableViewModel).
- Using MVVM stucture.
- Support TableView.
- Support CollectionView.
- Git clone this project.
- Set
reuseIdentifier
to every items in the collection view.
NSString *identifier = [NSString stringWithFormat:@"Identifier_%d-%d-%d", (int)indexPath.section, (int)indexPath.row, (int)indexPath.item];
[collectionView registerNib:[UINib nibWithNibName:CollectionViewCell.identifier bundle:nil] forCellWithReuseIdentifier:identifier];
CollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:identifier forIndexPath:indexPath];
Demo1 | Demo2 |
---|---|
Demo3 | |