An open API service indexing awesome lists of open source software.

https://github.com/irons163/irmultipleplayers

IRMultiplePlayers is a multiple video players for iOS.
https://github.com/irons163/irmultipleplayers

players videoplayer

Last synced: 7 months ago
JSON representation

IRMultiplePlayers is a multiple video players for iOS.

Awesome Lists containing this project

README

          

![Build Status](https://img.shields.io/badge/build-%20passing%20-brightgreen.svg)
![Platform](https://img.shields.io/badge/Platform-%20iOS%20-blue.svg)

# IRMultiplePlayers

- IRMultiplePlayers is a multiple video players for iOS.

- Using the video player([IRPlayer](https://github.com/irons163/IRPlayer)).
- Using MVVM collectionView/tableView stucture([IRCollectionTableViewModel](https://github.com/irons163/IRCollectionTableViewModel)).

## Features
- Using MVVM stucture.
- Support TableView.
- Support CollectionView.

## Install
### Git
- Git clone this project.

## Usage

### Basic
- Set `reuseIdentifier` to every items in the collection view.
```obj-c
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];
```

## Screenshots
| Demo1 | Demo2 |
|:---:|:---:|
| ![Demo1](./ScreenShots/demo1.png) | ![Demo2](./ScreenShots/demo2.png) |
| Demo3 | |
| ![Demo3](./ScreenShots/demo3.png) | |