Re: iPhone: how to tell if a UIScrollView is scrolling?
Re: iPhone: how to tell if a UIScrollView is scrolling?
- Subject: Re: iPhone: how to tell if a UIScrollView is scrolling?
- From: Gabriel Höhener <email@hidden>
- Date: Tue, 10 Nov 2009 18:30:59 +0100
Hello John
Maybe with the delegate methods... they tell you when your scrollView
begins to scroll (-scrollViewWillBeginDragging:) and when it stops
scrolling (-scrollViewDidEndDecelerating:)... and there are other
methods that might be of interest... just have a look at the
UIScrollViewDelegate Protocol Reference!
Gabe
John Michael Zorko schrieb:
Hello, all ...
After making the NSOperation and view tag changes, my app is scrolling
a large table view with hundreds of images much better. However, there
is still some jerkiness, caused by the fact that when the NSOperation
calls the refresh (image update) method, it has to call it on the main
thread. So, every time the image needs to update, the scrolling pauses
for a bit, which makes scrolling jerky when images haven't been cached.
I was thinking that I could only update the image if the table view
isn't scrolling, but I don't see an isScrolling property on
UIScrollView. Is there a way, in OS 2.2.1, that I can tell if a scroll
view is scrolling?
Regards,
John
Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden