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

Unexpected errors when moving project to Xcode 9. #575

Closed
kunass2 opened this issue Sep 27, 2017 · 8 comments
Closed

Unexpected errors when moving project to Xcode 9. #575

kunass2 opened this issue Sep 27, 2017 · 8 comments

Comments

@kunass2
Copy link

kunass2 commented Sep 27, 2017

screen shot 2017-09-27 at 14 41 42

This is what I try to resolve. Any help?;)

@patchthecode
Copy link
Owner

put this in pod file

pod 'JTAppleCalendar', :git => 'https://github.com/patchthecode/JTAppleCalendar.git', :branch => 'master'

Then do a pod update

The is the latest version to be released
Read here for changes that happened on this version -> #553

@patchthecode
Copy link
Owner

If you need more help on the issue, talk to me here -> https://gitter.im/patchthecode/JTAppleCalendar

@kunass2
Copy link
Author

kunass2 commented Sep 28, 2017

But another case, when I try to scroll to date:

calendarView.scrollToDate(today, animateScroll: false)

then in version 7.0.6 it jumps, but it wasnt like this before in version 7.0.4. What should I do now?

@patchthecode
Copy link
Owner

In this code, you have removed the scrolling animation.

calendarView.scrollToDate(today, animateScroll: false)

What happens if you do this instead?

calendarView.scrollToDate(today, animateScroll: true)

@kunass2
Copy link
Author

kunass2 commented Sep 29, 2017

Hi, sorry for delay;(

The animation makes difference because of animateScroll parameter. My calendar starts in January 2017 and finishes in December 2025. When view is loaded, there January 2017 is loaded in the first time. And the user see how the calendar jumps or animate to current September 2017.

Before latest version (I mean 7.0.4, now it is 7.0.6) the user after view is loaded see immediately Spetember 2017 WITHOUT any jump or animation. Why now calendar jumps after view is loaded? I need to set calendar to the current date immediately to the user after view is loaded. Why it happens?

@kunass2
Copy link
Author

kunass2 commented Sep 29, 2017

It is because of latest version. When I force cocoapods to install version 7.0.4 then everything is fine. Please take a look into this.

@patchthecode
Copy link
Owner

patchthecode commented Sep 29, 2017

If you are online, can you join me here? https://gitter.im/patchthecode/JTAppleCalendar
I want to see a gif image of what you are talking about, because I do not see this happening.

@patchthecode
Copy link
Owner

closing issue.
Awaiting sample app as mentioned in chat.

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

No branches or pull requests

2 participants