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

OnScrollEvent? #34

Open
Bruno-Piccinin-RealComm opened this issue Nov 14, 2017 · 0 comments
Open

OnScrollEvent? #34

Bruno-Piccinin-RealComm opened this issue Nov 14, 2017 · 0 comments

Comments

@Bruno-Piccinin-RealComm

Hi,

in MSWeekView.m file i found the event I need
- (NSDate *)collectionView:(UICollectionView *)collectionView layout:(MSCollectionViewCalendarLayout *)collectionViewCalendarLayout dayForSection:(NSInteger)section { NSString* day = [_eventsBySection.allKeys.sort objectAtIndex:section]; return [NSDate parse:day timezone:@"device"]; }

but I need to call it from my view controller.

The result I want is to have a event call on every day scrolled, when the day scrolled is Monday, I would like to change the title of my controller and set the number of week visualized in the calendar. The only thing I need is to have a similar event like the event in MSWeekView.
I tried to call it, or include the MSCollectionViewDelegateCalendarLayout in my ViewController but I have some difficulties.

Any help?

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

1 participant