RefreshUI
RefreshUI copied to clipboard
Doesn't seem to work with iOS 14 beta 5
In RefreshUIView.swift, replace lines 24-26 with the following
guard let tableViewWrapper = target else { return }
guard let tableView = tableViewWrapper.subviews.first as? UITableView else { return }
There appears to be one less layer in the view hierarchy now. Of course, this is a fragile fix as it's subject to breaking in a similar way in the future. A safer bet might just be to loop over the subviews going deeper into the hierarchy until a UITableView is found rather than hard coding the hierarchy.
RefreshUI is no longer available. I'm preferred to use Introspect. https://github.com/siteline/SwiftUI-Introspect