0

i have been reading ur answers i m sure u are pretty experienced so plz help me out .. i m building my first app everything is perfect in it but now i m stuck .. i am not able to pull to refresh nor i am able to add data from parse.com i tried everything but i fail ..

This is how my app looks https://www.dropbox.com/s/k10svw38se25cno/iOS%20Simulator%20Screen%20Shot%20Jan%2012%2C%202015%2C%209.56.06%20AM.png?dl=0

i want to pull to refresh when i pull down the screen and i want to parse data for music name and music label n etc etc

nd This is my ViewController.swift https://www.dropbox.com/s/io76c0shgznswvh/ViewController.rtf?dl=0

i have parse.com framework but i dont know how to use it :(

2 Answers2

0

With default look and feel on pull-to-refresh, you could use UIRefreshControl

Dino Tw
  • 3,167
  • 4
  • 34
  • 48
  • Where should i add that control n how ? – Noman Shaikh Jan 13 '15 at 01:39
  • found a tutorial, [Implementing Pull-to-Refresh and Handling Empty Table](http://www.appcoda.com/pull-to-refresh-uitableview-empty/). And you might also need [UIRefreshControl without UITableViewController](http://stackoverflow.com/questions/12497940/uirefreshcontrol-without-uitableviewcontroller) – Dino Tw Jan 13 '15 at 23:31
0

Pull to refresh can be implemented using a UIRefreshControl but it can only be used in a UITableViewController. You are not using a UITableViewController in your code.

rakeshbs
  • 24,392
  • 7
  • 73
  • 63
  • You can implement a custom refresh control. Check this project https://github.com/bogardon/MSPullToRefreshController – rakeshbs Jan 13 '15 at 10:57