UIPickerView: How do I LOOP data, as is done in UIDatePicker {looping Jan thru Dec} vs a mere list?
Greetings: I have a customized UIPickerView containing a list of names. Let’s say I have an array of ten (10) names = {“Alfred”... “Zena”}. The normal way of showing this list is a singular, static list of an array from beginning to end. I would have to return to the beginning vs automatically cycle AROUND (loop) to the beginning; as is down with the UIDatePicker. Question: How can I change this behavior to allow LOOPING to the beginning of the scroll list? That is, from ‘Alfred’ --> 'Zena' --> 'Alfred' --> etc. Ric. ___ 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
Re: UIPickerView: How do I LOOP data, as is done in UIDatePicker {looping Jan thru Dec} vs a mere list?
> > Question: How can I change this behavior to allow LOOPING to the beginning > of the scroll list? > Ric, I just did a quick search for "continuous UIPicker" and found a page discussing this... http://www.iphonedevsdk.com/forum/iphone-sdk-development/4479-uipickerview-circular.html Most common solution seems to be to provide a very large (repeated) selection of values and start the user off in the middle somewhere. There are some other suggestions on that page though. Regards, Matt ___ 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