Yalantis/PullToMakeSoup

Ambiguous use of 'init'

Jasperav opened this issue · 2 comments

let refresher = PullToMakeSoup() When I add this somewhere in my code, I get that error. Yes I included the import PullToMakeSoup and PullToRefresh. Also, tableView.endRefreshing() is saying: Missing argument for ' at'. How can I fix this?

Use this instead !
self.myTableView.addPullToRefresh(PullToMakeSoup(at: .top)) { }

    let refresher = PullToMakeSoup(at: .top)