• 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
UIPickerView: How do I LOOP data, as is done in UIDatePicker {looping Jan thru Dec} vs a mere list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIPickerView: How do I LOOP data, as is done in UIDatePicker {looping Jan thru Dec} vs a mere list?


  • Subject: UIPickerView: How do I LOOP data, as is done in UIDatePicker {looping Jan thru Dec} vs a mere list?
  • From: "Frederick C. Lee" <email@hidden>
  • Date: Thu, 24 Sep 2009 13:56:45 -0700

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 (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

  • Follow-Ups:
    • Re: UIPickerView: How do I LOOP data, as is done in UIDatePicker {looping Jan thru Dec} vs a mere list?
      • From: Matthew Lindfield Seager <email@hidden>
  • Prev by Date: Core Data: relationship 'too large' when saving
  • Next by Date: Re: Background application is visible when I try to display a transparent backgrounded image into my app
  • Previous by thread: Re: Background application is visible when I try to display a transparent backgrounded image into my app
  • Next by thread: Re: UIPickerView: How do I LOOP data, as is done in UIDatePicker {looping Jan thru Dec} vs a mere list?
  • Index(es):
    • Date
    • Thread