Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Crash on using NSDate() without a formatter for date ranges #11 Under configure calendar, if I make date ranges using NSDate(): let currentDate = NSDate() let startComponents = NSDateComponents let startDate = calendar.dateByAddingComponents(startComponents, toDate: currentDate, options: NSCalendarOptions()) let endComponents = NSDateComponents() endComponents.month = 1 let endDate = calendar.dateByAddingComponents(endComponents, toDate: currentDate, options: NSCalendarOptions()) I'm getting this error 2016-04-29 17:38:30.217 MyApp[81989:679927] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'attempt to scroll to invalid index path: <NSIndexPath: 0x7b073180> {length = 2, path = 0 - 0}'
- Loading branch information