RVCalendarWeekView icon indicating copy to clipboard operation
RVCalendarWeekView copied to clipboard

OnScrollEvent?

Open Bruno-Piccinin-RealComm opened this issue 7 years ago • 0 comments

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?

Bruno-Piccinin-RealComm avatar Nov 14 '17 09:11 Bruno-Piccinin-RealComm