Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nil unwrap 4.1.1 using selectDates(trigger: false) #69

Closed
krisanthony opened this issue Jul 10, 2016 · 7 comments
Closed

nil unwrap 4.1.1 using selectDates(trigger: false) #69

krisanthony opened this issue Jul 10, 2016 · 7 comments

Comments

@krisanthony
Copy link

Getting a unexpectedly found nil while unwrapping an Optional value at line 174 let index = self.theSelectedIndexPaths.indexOf(oldIndexPath)!

I am selecting dates with triggerDelegate set to false.

@patchthecode
Copy link
Owner

patchthecode commented Jul 10, 2016

Oh damn, i forgot to make it a contitional unwrap >_<
fixing this now. But can you tell me how you got that issue to happen?

@patchthecode
Copy link
Owner

  1. Is multiSelect enabled?
  2. When are you selecting the date cells? is it on viewDidLoad()
  3. I have more questions to ask.

if youre in chat, then let me know --> https://gitter.im/patchthecode/JTAppleCalendar

@patchthecode
Copy link
Owner

Ok. I have re-created the issue. Checking now.

@patchthecode
Copy link
Owner

patchthecode commented Jul 10, 2016

I have push a Fix to master branch. Can you test the master branch?

Change your pod to have this ->
pod 'JTAppleCalendar', :git => 'https://github.com/patchthecode/JTAppleCalendar.git'

@patchthecode patchthecode self-assigned this Jul 10, 2016
@patchthecode
Copy link
Owner

Released path. update to version 4.1.2

@krisanthony
Copy link
Author

yep that was it works great!

@patchthecode
Copy link
Owner

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants