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: Mike Abdullah <email@hidden>
- Date: Tue, 10 Nov 2009 18:30:26 +0000
A UIScrollView is scrolling if it returns YES for either -isDragging or -isDecelerating
On 10 Nov 2009, at 17:18, John Michael Zorko wrote:
>
> 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