2

I have used UIDatePicker as native control and also used libraries mentioned over Stackoverflow and github. But i want to have a calendar view , horizontally scrolling days in a row like in image.

Please share your ideas/logic about what are possible solutions to achieve this functionality. Thanksenter image description here

2 Answers 2

1

You can use library that is most closest to functionality you required and can customize its appearance as per you need.

https://github.com/CapitalGene/objc-CGCalendarView

enter image description here

2
1

Seems like a perfect time for a horizontal collection view. Just have some sort of calendar datasource and you are good to go. Should be able to use the flow layout and set the direction to horizontal and kapow, done.

1
  • Thanks for your answer . i have given it thought but problem remain same for getting NSCalendar items as datasource. Is there any built in functionality in NSDatePicker to get all the dates as it does in native picker?Plus shades and curl on side dates are also required.
    – iAhmed
    May 20, 2015 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.