Change Title label text
nikeshakya opened this issue · 2 comments
nikeshakya commented
--> Is there any way to modify the title texts from "Pull down to refresh", "Release to refresh" to something else ?
nikeshakya commented
apart from changing the value in Localizable.string file
quetool commented
Yes, like this
let normalRefresh = NormalHeaderAnimator()
normalRefresh.releaseToRefreshDescription = "your release text"
normalRefresh.loadingDescription = "your loading text"
normalRefresh.pullToRefreshDescription = "your pull to refresh text"
yourTableView.cr.addHeadRefresh(animator: normalRefresh) { [weak self] in
/// start refresh
/// Do anything you want...
}