Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-06-2010, 02:32 PM   #1 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 10
kokok is on a distinguished road
Default How does Tweetie do auto refreshing for Table View?

Hi,

I just started to learn about iphone app programming.
I am learning about the Table view right now.
I was using tweetie and noticed that when you scroll to the very top, it will automatically refresh.
How do you think Tweetie is doing this?
kokok is offline   Reply With Quote
Old 05-06-2010, 02:45 PM   #2 (permalink)
Registered Member
 
Join Date: May 2009
Location: Denver CO
Posts: 88
seriessix is on a distinguished road
Default

Quote:
Originally Posted by kokok View Post
Hi,

I just started to learn about iphone app programming.
I am learning about the Table view right now.
I was using tweetie and noticed that when you scroll to the very top, it will automatically refresh.
How do you think Tweetie is doing this?
[self.tableView reloadData];

Then some kind of time mod that runs on either receiving data or on a timer.
seriessix is offline   Reply With Quote
Old 05-06-2010, 02:59 PM   #3 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

I haven't used Tweetie, so I'm not certain of the behavior you are describing. If it literally is the scrolling action reaching the top that causes the reload, then they are probably using the scroll view's scrollViewDidScrollToTop: delegate method to make things happen.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 08-24-2010, 03:11 AM   #4 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 35
glycol is on a distinguished road
Default

Adding the ‘pull down to refresh’ effect to UITableView How to make iPhone Apps and Influence People - read this- there is source codes of this feature
glycol is offline   Reply With Quote
Reply

Bookmarks

Tags
table view, tweetie

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 324
15 members and 309 guests
Abidullah, baja_yu, cgokey, Duncan C, Fstuff, gbenna, guusleijsten, jbro, mdpauley, n00b, newDev, Sami Gh, seokwon lee, stanny, Steven.C
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,648
Threads: 94,113
Posts: 402,877
Top Poster: BrianSlick (7,990)
Welcome to our newest member, brandon6031
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:42 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0