UA-17470720-3

Jump to content


Photo
- - - - -

Pull to refresh


  • Please log in to reply
2 replies to this topic

#1 Karl1348790294

Karl1348790294

    Experienced Member

  • STV 5.0 Std
  • PipPipPipPip
  • 90 posts
Reputation: 6
Good

Posted 16 October 2015 - 01:54 AM

I am implementing a pull to refresh on a STV table with data from Parse.com

(I have done this by adding an IBAction to the refresh control on the storyboard)

How do i instruct STV to refresh its Parse data.

I have tried simply telling it to reload the tableview but that doesn't seem to do it

thanks

karl


Edited by Karl1348790294, 16 October 2015 - 02:42 AM.


#2 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 16 October 2015 - 06:01 AM

Hi Karl,

 

STV should do everything automatically (including showing the control) if you simply set self.tableViewModel.enablePullToRefresh to true.


  • wizgod likes this

#3 Karl1348790294

Karl1348790294

    Experienced Member

  • STV 5.0 Std
  • PipPipPipPip
  • 90 posts
Reputation: 6
Good

Posted 16 October 2015 - 09:11 AM

That worked well

thanks

karl






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users