-
Notifications
You must be signed in to change notification settings - Fork 808
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
triggerScrollToDateDelegate in calendar.scrollToDate now triggers willScrollToDateSegmentWith delegate function #1264
base: master
Are you sure you want to change the base?
Conversation
// Ensure date is within valid boundary | ||
|
||
// Ensure date is within valid boundary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't need extra tabulation
@@ -384,7 +384,7 @@ | |||
CLANG_ENABLE_MODULES = YES; | |||
CODE_SIGN_STYLE = Automatic; | |||
DEFINES_MODULE = YES; | |||
DEVELOPMENT_TEAM = GBBYECNDQ9; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't need
@@ -356,7 +356,7 @@ | |||
CLANG_ENABLE_MODULES = YES; | |||
CODE_SIGN_STYLE = Automatic; | |||
DEFINES_MODULE = YES; | |||
DEVELOPMENT_TEAM = GBBYECNDQ9; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't need
@@ -551,7 +551,12 @@ extension JTACMonthView { | |||
assert(false, "Could not determine CGPoint. This is an error. contact developer on github. In production, there will not be a crash, but scrolling will not occur") | |||
return | |||
} | |||
|
|||
|
|||
if self.triggerScrollToDateDelegate == true { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't need extra tabulation
@@ -178,4 +181,5 @@ public extension JTACMonthViewDelegate { | |||
func calendarSizeForMonths(_ calendar: JTACMonthView?) -> MonthSize? { return nil } | |||
func sizeOfDecorationView(indexPath: IndexPath) -> CGRect { return .zero } | |||
func scrollDidEndDecelerating(for calendar: JTACMonthView) {} | |||
func scrollDidEndScrollingAnimation(for calendar: JTACMonthView) {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't need extra tabulation
} | ||
} | ||
|
||
/// Tells the delegate that a scroll occured |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't need extra tabulation
You need to fix merge conflicts :) |
This PR is a fix for #1262. I am not an experienced developer, so if there are any mistakes or if you need any changes, let me know. It seems to solve my problem correctly for now.