Giter Site home page Giter Site logo

Comments (4)

patchthecode avatar patchthecode commented on May 2, 2024

Acknowledged. Taking a look

from jtapplecalendar.

patchthecode avatar patchthecode commented on May 2, 2024

2 things.

  1. The calendar calls the boundary delegates to find out its date boundary. You are supplying NSDate() to the boundary. Every time NSDate() is called, you are supplying a different date.

Ex.

1st call = 2016-03-01 01:06:03 +0000
2nd call = 2016-03-01 01:07:03 +0000

Difference by a ~ second. Since you are changing the boundary, the calendar thinks you want the boundaries updated and the whole layout reloaded. Now while this is logical that the calendar thinks this, it's sort of dumb.

I will make the following fix -> The calendar will only assume that the developer wants to change the date when the difference in the date is greater than 1 day-unit.

  1. That being said, the calendar should not have crashed. It crashed because after it assumed number 1 above, it deleted its internal date-data in preparation to generate the new one given by your NSDate() function. But it should have done this on the main thread instead of a background one.

The two fixes are done. Testing now. Expect a new code push in a few hrs. In the mean time continue to use the work around. After the fix you should be able to use it like you wanted to.

from jtapplecalendar.

patchthecode avatar patchthecode commented on May 2, 2024

Updated to 2.1.1
Can you let me know if you are still having the issue?

from jtapplecalendar.

soundsmitten avatar soundsmitten commented on May 2, 2024

Yes, 2.1.1 fixes the issue.

from jtapplecalendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.