Ever want to include a date picker in your app but don't like how UIDatePicker
– and more generally, UIPickerView
– looks?
Square has a gorgeous and open source monthly calendar picker available. There's a write up on it including sample code:
CGRect frame = self.parentViewController.view.bounds;
self.view = [[TSQCalendarView alloc] initWithFrame:frame];
self.calendarView.firstDate = [NSDate date];
self.calendarView.lastDate = [[NSDate date] dateByAddingTimeInterval:60 * 60 * 24 * 279.5]; // approximately 279.5 days in the future
self.calendarView.delegate = self;
Bonus: there's even an equivalent Android version available.
Your feedback is valuable: Do you want more nuggets like this? Yes or No
.
.