• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPhone: how to tell if a UIScrollView is scrolling?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >iPhone: how to tell if a UIScrollView is scrolling? (From: John Michael Zorko <email@hidden>)

  • Prev by Date: iPhone: how to tell if a UIScrollView is scrolling?
  • Next by Date: Re: How can a plug-in bundle get access to its own resources?
  • Previous by thread: iPhone: how to tell if a UIScrollView is scrolling?
  • Next by thread: Re: iPhone: how to tell if a UIScrollView is scrolling?
  • Index(es):
    • Date
    • Thread