conflict update

This commit is contained in:
Pfeil, Scott Robert 2021-02-11 17:51:09 -05:00
parent a79ceb85f8
commit 23a8c2c1ba
2 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ import AVFoundation
@objcMembers open class VideoDataManager: NSObject {
/// The state of the video.
@objc public enum State: Int {
@objc public enum VideoState: Int {
case none
case loading
case loaded
@ -23,13 +23,13 @@ import AVFoundation
public var player: AVPlayer?
// Thread Safe video state handling.
private var _videoState = State.none
private var _videoState = VideoState.none
private let videoStatueQueue = DispatchQueue(label: "com.vzw.mvmcoreui.videoDataManager.state", attributes: .concurrent)
/// The state of the video. Use KVO to listen for state changes.
@objc public var videoState: State {
@objc public var videoState: VideoState {
get {
var state = State.none
var state = VideoState.none
videoStatueQueue.sync {
state = _videoState
}

View File

@ -73,7 +73,7 @@ open class ScrollingViewController: ViewController {
scrollView.flashScrollIndicators()
}
public func scrollViewDidScroll(_ scrollView: UIScrollView) {
open func scrollViewDidScroll(_ scrollView: UIScrollView) {
executeBehaviors { (behavior: PageScrolledBehavior) in
behavior.pageScrolled(scrollView: scrollView)
}