Take a look at the WWDC videos from either 2010 or 2011... "Advanced Scroll View Techniques" I think was the title. These topics are covered in some depth.
You will likely also want to examine UIScrollView's -pagingEnabled property as relates to your second question. (Sent from my iPhone.) -- Conrad Shultz Synthetiq Solutions On Jan 9, 2012, at 1:09, Ken Tabb <k.j.t...@herts.ac.uk> wrote: > Morning folks & Happy New Year, > > I've got an iOS app that needs to have a UIScrollView containing a horizontal > row of UIImageViews, all the same size. The UIScrollView will be a subclass > as I need it to implement some additional behaviour, but I've got 2 questions > which may already be built in (but I can't find anything relating to it): > > [1] Is there an easy way of looping the scrolling (so that you don't hit > either end of scrolling, you keep going around and around)? > > [2] Is there any way to, upon decelerating, ensure that one of the imageviews > is always centred in the scrollview? Ideally with swish decelerating taking > place, looking like the user lined it up perfectly each time the scrolling > comes to rest. > > Thanks in advance for any pointers, > Ken > > - - - - - - - - - - > Dr. Ken Tabb > Mac, iOS & UNIX Developer - Health & Human Sciences > Machine Vision & Neural Network researcher - School of Computer Science > University of Hertfordshire, UK > > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/conrad%40synthetiqsolutions.com > > This email sent to con...@synthetiqsolutions.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com