eggswift / pull-to-refresh

#Busy Re-Building....# An easy way to use pull to refresh and infinite scrolling in Swift. Pod 'ESPullToRefresh'
MIT License
1.82k stars 252 forks source link

Simultaneous accesses - xcode 9 beta 3 #82

Open ilyas91 opened 7 years ago

ilyas91 commented 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 {

    }
}
arshak-tekticks commented 7 years ago

I'm facing the same issue as well, @ilyas91 did you happen to solve it?

ilyas91 commented 7 years ago

@arshak-tekticks no :(

jgavris commented 7 years ago

You all may want to follow this issue https://bugs.swift.org/browse/SR-5439