{"action":"opened","issue":{"url":"https://api.github.com/repos/hons82/THCalendarDatePicker/issues/83","repository_url":"https://api.github.com/repos/hons82/THCalendarDatePicker","labels_url":"https://api.github.com/repos/hons82/THCalendarDatePicker/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/hons82/THCalendarDatePicker/issues/83/comments","events_url":"https://api.github.com/repos/hons82/THCalendarDatePicker/issues/83/events","html_url":"https://github.com/hons82/THCalendarDatePicker/issues/83","id":185517412,"number":83,"title":"Future Exception - \"Date cannot be nil\" on Date Selection","user":{"login":"cwalmsley","id":10227529,"avatar_url":"https://avatars.githubusercontent.com/u/10227529?v=3","gravatar_id":"","url":"https://api.github.com/users/cwalmsley","html_url":"https://github.com/cwalmsley","followers_url":"https://api.github.com/users/cwalmsley/followers","following_url":"https://api.github.com/users/cwalmsley/following{/other_user}","gists_url":"https://api.github.com/users/cwalmsley/gists{/gist_id}","starred_url":"https://api.github.com/users/cwalmsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwalmsley/subscriptions","organizations_url":"https://api.github.com/users/cwalmsley/orgs","repos_url":"https://api.github.com/users/cwalmsley/repos","events_url":"https://api.github.com/users/cwalmsley/events{/privacy}","received_events_url":"https://api.github.com/users/cwalmsley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-26T21:38:29Z","updated_at":"2016-10-26T21:38:29Z","closed_at":null,"body":"I have implemented the library using Swift 2.3 and see the below notification in the console when selecting a date from the picker.\r\n\r\nIts a vanilla implementation of the library - with no selected dates initialized. I have disabled multi date selection\r\n\r\n`2016-10-26 22:33:18.804 MyApp[20469:257834] *** -[__NSCFCalendar components:fromDate:]: date cannot be nil\r\nFuture exception.\r\nA few of these errors are going to be reported with this complaint, then further violations will simply be ignored.\r\nHere is the backtrace where this occurred this time (some frames may be missing due to compiler optimizations):\r\n(\r\n\t0   CoreFoundation                      0x0000000106a418f2 -[__NSCFCalendar components:fromDate:] + 130\r\n\t1   CoreFoundation                      0x0000000106a417fe -[_NSCopyOnWriteCalendarWrapper components:fromDate:] + 78\r\n\t2   THCalendarDatePicker                0x000000010471e37f -[THDatePickerViewController dateInCurrentMonth:] + 207\r\n\t3   THCalendarDatePicker                0x000000010471b977 -[THDatePickerViewController dateDayTapped:] + 567\r\n\t4   THCalendarDatePicker                0x0000000104715f29 -[THDateDay dateButtonTapped:] + 89\r\n\t5   UIKit                               0x0000000104772b88 -[UIApplication sendAction:to:from:forEvent:] + 83\r\n\t6   UIKit                               0x00000001048f82b2 -[UIControl sendAction:to:forEvent:] + 67\r\n\t7   UIKit                               0x00000001048f85cb -[UIControl _sendActionsForEvents:withEvent:] + 444\r\n\t8   UIKit                               0x00000001048f74c7 -[UIControl touchesEnded:withEvent:] + 668\r\n\t9   UIKit                               0x00000001047e00d5 -[UIWindow _sendTouchesForEvent:] + 2747\r\n\t10  UIKit                               0x00000001047e17c3 -[UIWindow sendEvent:] + 4011\r\n\t11  UIKit                               0x000000010478ea33 -[UIApplication sendEvent:] + 371\r\n\t12  UIKit                               0x0000000104f80b6d __dispatchPreprocessedEventFromEventQueue + 3248\r\n\t13  UIKit                               0x0000000104f79817 __handleEventQueue + 4879\r\n\t14  CoreFoundation                      0x0000000106a0b311 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\r\n\t15  CoreFoundation                      0x00000001069f059c __CFRunLoopDoSources0 + 556\r\n\t16  CoreFoundation                      0x00000001069efa86 __CFRunLoopRun + 918\r\n\t17  CoreFoundation                      0x00000001069ef494 CFRunLoopRunSpecific + 420\r\n\t18  GraphicsServices                    0x0000000109288a6f GSEventRunModal + 161\r\n\t19  UIKit                               0x0000000104770f34 UIApplicationMain + 159\r\n\t20  MyApp                        0x00000001008a99a2 main + 114\r\n\t21  libdyld.dylib                       0x0000000107a4e68d start + 1\r\n\t22  ???                                 0x0000000000000001 0x0 + 1\r\n)`"}}
{"actor":{"display_login":"cwalmsley"}}