Open ilyas91 opened 7 years ago
Simultaneous accesses to 0x1084d07e8, but modification requires exclusive access
in
override open func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) { if context == &ESRefreshComponent.context { guard isUserInteractionEnabled == true && isHidden == false else { return } if keyPath == ESRefreshComponent.contentSizeKeyPath { if isIgnoreObserving == false { sizeChangeAction(object: object as AnyObject?, change: change) } } else if keyPath == ESRefreshComponent.offsetKeyPath { if isIgnoreObserving == false { offsetChangeAction(object: object as AnyObject?, change: change) } } } else {
} }
I'm facing the same issue as well, @ilyas91 did you happen to solve it?
@arshak-tekticks no :(
You all may want to follow this issue https://bugs.swift.org/browse/SR-5439
Simultaneous accesses to 0x1084d07e8, but modification requires exclusive access
in
override open func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) { if context == &ESRefreshComponent.context { guard isUserInteractionEnabled == true && isHidden == false else { return } if keyPath == ESRefreshComponent.contentSizeKeyPath { if isIgnoreObserving == false { sizeChangeAction(object: object as AnyObject?, change: change) } } else if keyPath == ESRefreshComponent.offsetKeyPath { if isIgnoreObserving == false { offsetChangeAction(object: object as AnyObject?, change: change) } } } else {