Ever want to include a date picker in your app but don't like how
UIDatePicker – and more generally,
UIPickerView – looks?
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.