- Just one capture session per input component. - Avoids starting/stoping capture during collection reloads, which can make the live camera take longer to capture or even hang. - Moves creation/destruction of capture session to the background: when opening/closing the input component many times it was resulting in capture start / stop blocking the main thread for some seconds on iOS 8 - Queues updates in the collection view: doing a reloadData right after reloadItemsAtIndexPaths (update video) results in the visible cells not being refreshed |
||
|---|---|---|
| .. | ||
| Photos.xcassets | ||
| LiveCameraCaptureSession.swift | ||
| LiveCameraCell.swift | ||
| LiveCameraCellPresenter.swift | ||
| PhotosChatInputItem.swift | ||
| PhotosInputCameraPicker.swift | ||
| PhotosInputCell.swift | ||
| PhotosInputCellProvider.swift | ||
| PhotosInputDataProvider.swift | ||
| PhotosInputView.swift | ||
| PhotosInputViewItemSizeCalculator.swift | ||