jcavar / refresher

DEPRECATED: Pull to refresh in Swift
MIT License
873 stars 99 forks source link

Activate refresh by programming ? #30

Closed ins0u closed 8 years ago

ins0u commented 8 years ago

Hello,

I have a small question, how to activate the refresh programmatically?

After returning from a function, I would like to update the list and trigger a refresh by code .. Is it possible ?

Thank you for your help :)

jcavar commented 8 years ago

Hi, yes there is a way to do that :) https://github.com/jcavar/refresher/blob/master/Refresher/PullToRefreshExtension.swift#L64

ins0u commented 8 years ago

Thank you 👍 ^^