For an iphone app, I have to create a custom calendar that shows a horizontal scroller with 5 dates [with day of month and weekday] displayed on them.
I am using a scrollview with horizontal scrolling. My problem is that I need a data source that provides me a collection of dates for say 1 month so that when user swipes the control left to right or right to left and reaches either end than I remove the previous collection and add next set of the same.
Can anyvody explain how to obtain the date data source. I only need dates equal to or less than current date with no future date.
Thanks
Arnieterm
I am using a scrollview with horizontal scrolling. My problem is that I need a data source that provides me a collection of dates for say 1 month so that when user swipes the control left to right or right to left and reaches either end than I remove the previous collection and add next set of the same.
Can anyvody explain how to obtain the date data source. I only need dates equal to or less than current date with no future date.
Thanks
Arnieterm