Well, do a faux datepicker using a Table View and the gradient overlay to make it look like a datePicker, but one that you can customize a whole lot easier.
Yeah, you can't scroll the day/month/year separately, but you can scroll one set of items that represent a range of dates. Lemmie cook up a quick sample for you. Will email offline. On Apr 17, 2013, at 11:21 AM, Rick Aurbach wrote: > Alex, > > You have my attention, I don't really understand what you're suggesting. How > would a gradient overlay to the selection-list UITableView aid the user in > scrolling to a particular date or making a selection? Could you elaborate?? > > Rick Aurbach > > On Apr 17, 2013, at 8:50 AM, Alex Zavatone <z...@mac.com> wrote: > >> What about a UITableView with a gradient overlay that is shaded at the top >> and bottom? >> >> On Apr 17, 2013, at 12:35 AM, Rick Aurbach wrote: >> >>> In my iPad app, I have a number of tableviews in various places which act >>> as selection lists. The user can scroll the list and select the item with a >>> tap, of course. But since some of the lists can be lengthy, I also include >>> navigation aids. In all but one of the lists, the items are alphabetized >>> and the navigation aid is a UISearchBar (I could equally well have used a >>> table index, but I've chosen a UISearchBar instead. I use "scroll to >>> closest text match" logic and it works very well -- the user can usually >>> scroll the list and make the desired selection by typing only one or two >>> characters In most cases.) >>> >>> However, for one of the lists, the table items are items which are sorted >>> by date. The obvious navigation aid in this case is a UIDatePicker, but due >>> to limited screen real estate, I'd rather not use it (since is is so big >>> and can't be easily resized). So I am looking for alternatives. >>> >>> One alternative is to put the UIDatePicker (or perhaps another date picker >>> such as SRMonthPicker or OCCalendar or ??) in a popover. (Presumably, the >>> popover would be triggered by tapping a button or tapping in a >>> UISearchBar.) This is do-able but what I really want is something that is >>> not a popover. Ideally, I'd like something that is permanently part of the >>> view but is only 44 pixels high (like a UISearchBar). Yet it should be easy >>> for users to select at least a year and a month (causing the tableview to >>> scroll the appropriate date range on screen for easy selection). >>> >>> I would be interested to hear from anyone who has encountered a similar >>> situation and has implemented a solution which they find satisfactory. >>> >>> Cheers, >>> >>> Rick Aurbach >>> Aurbach & Associates, Inc. >>> > > > > > _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com