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

minimumDate iOS10 #432

Closed
marckaraujo opened this issue Sep 28, 2016 · 0 comments
Closed

minimumDate iOS10 #432

marckaraujo opened this issue Sep 28, 2016 · 0 comments

Comments

@marckaraujo
Copy link

This is a Bug Report

Description

When you set:

#!swift
func minimumDate(for calendar: FSCalendar) -> Date {
        return Date()
    }

I got one exception. This is because the minimumDate is higher then the first item showed in Calendar.

Ex: Today is 2016/09/28 (Wednesday) and to fill the FSCalendar view, the first date is 2016/09/25. But as the minimumDate is 2016/09/28, then it crash.

Additional Data

  • _Branch_: Development
  • _Operating System_: iOS 10
  • _Stack Trace_:
#!swift
*** Terminating app due to uncaught exception 'FSCalendar date out of bounds exception', reason: 'Target date 2016/09/25 beyond bounds [2016/09/28 - 2016/09/25]'

WenchaoD added a commit that referenced this issue Oct 1, 2016
Decrease alpha improvement
WenchaoD added a commit that referenced this issue Oct 2, 2016
* development:
  Update README Update Xcode8 recommended settings
  Fix issue #432
  Improve alpha effect
  Fix issue #431
  iOS10 adaption
  Update README.md, clean up.
  Fix bad image offset
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