@class NSObject, EKEventEditViewController, UIView, NSCalendar, NSString, EKEventGestureController, EKDayView, NSTimer, UIScrollView, EKDayOccurrenceView, NSArray, ScrollSpringFactory, CUIKOccurrencesCollection, EKDayViewWithGutters, NSDateComponents; @protocol EKDayViewControllerDelegate, EKDayViewControllerDataSource, OS_dispatch_queue; @interface EKDayViewController : UIViewController <BlockableScrollViewDelegate, EKDayOccurrenceViewDelegate, CUIKPasteboardManagerCutDelegate, CUIKPasteboardManagerCopyDelegate, EKUIRightClickEmptySpaceInteractionDelegate, EKDayViewDataSource, EKDayViewDelegate, EKEventGestureControllerDelegate, CUIKPasteboardManagerPasteDelegate, UIScrollViewDelegate> { UIView *_clipView; UIScrollView *_horizontalScrollingView; EKDayView *_previousDay; EKDayView *_currentDay; EKDayView *_nextDay; EKDayOccurrenceView *_proposedTimeView; EKDayViewWithGutters *_previousDayWithGutter; EKDayViewWithGutters *_currentDayWithGutter; EKDayViewWithGutters *_nextDayWithGutter; unsigned char _scrollViewAnimating : 1; unsigned char _hasPendingNextDate : 1; unsigned char _hasPendingPreviousDate : 1; unsigned char _decelerating : 1; unsigned char _settingDateFromScrolling : 1; CUIKOccurrencesCollection *_occurrences; CUIKOccurrencesCollection *_previousDayOccurrences; CUIKOccurrencesCollection *_nextDayOccurrences; EKEventGestureController *_eventGestureController; ScrollSpringFactory *_decelerationSpringFactory; NSDateComponents *_originalDisplayDate; double _dayStart; double _dayEnd; BOOL _needsReload; BOOL _shouldScrollToNowOnViewWillAppear; BOOL _instigatedDateChange; BOOL _viewAppeared; BOOL _adjustingForDeceleration; BOOL _fingerDown; BOOL _requiresFullDayRelayout; int _springAnimatedDecelerationsInProgress; int _sizeTransitionsInProgress; BOOL _correctAfterScroll; NSDateComponents *_targetDateComponents; BOOL _needToCompleteScrollingAnimation; BOOL _needToCompleteDeceleration; NSObject<OS_dispatch_queue> *_reloadQueue; NSObject<OS_dispatch_queue> *_protectionQueue; long long _targetSizeClass; } @property (copy, nonatomic) NSDateComponents *pendingNextDate; @property (copy, nonatomic) NSDateComponents *pendingPreviousDate; @property (retain, nonatomic) NSTimer *showNowTimer; @property (nonatomic) BOOL transitionedToSameDay; @property (weak, nonatomic) id<EKDayViewControllerDelegate> delegate; @property (weak, nonatomic) id<EKDayViewControllerDataSource> dataSource; @property (copy, nonatomic) NSDateComponents *displayDate; @property (copy, nonatomic) NSCalendar *calendar; @property (nonatomic) BOOL showsBanner; @property (nonatomic) BOOL allowsDaySwitching; @property (nonatomic) BOOL allowsSelection; @property (nonatomic) BOOL alwaysAnimate; @property (nonatomic) BOOL disableGestureDayChange; @property (nonatomic) BOOL disableNotifyDateChangeDuringTracking; @property (nonatomic) BOOL animateAllDayAreaHeight; @property (nonatomic) BOOL shouldAutoscrollAfterAppearance; @property (nonatomic) BOOL notifyWhenTapOtherEventDuringDragging; @property (nonatomic) BOOL preloadExtraDays; @property (nonatomic) double gutterWidth; @property (retain, nonatomic) UIView *gestureOccurrenceSuperview; @property (readonly, nonatomic) UIView *effectiveEventGestureSuperview; @property (retain, nonatomic) EKEventEditViewController *currentEditor; @property (readonly, nonatomic) EKDayView *currentDayView; @property (nonatomic) int startingFirstVisibleSecond; @property (readonly, nonatomic) UIView *currentAllDayView; @property (readonly, nonatomic) NSArray *currentDayContentGridViewSubviews; @property (readonly, nonatomic) BOOL currentDayContainsOccurrences; @property (nonatomic) BOOL shouldLogVisibleEvents; @property (nonatomic) BOOL scrollEventsInToViewIgnoresVisibility; @property (nonatomic) struct CGPoint { double x; double y; } normalizedContentOffset; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (BOOL)_shouldForwardViewWillTransitionToSize; - (void)dayViewDidCompleteAsyncLoadAndLayout:(id)a0; - (void)scrollViewDidEndDecelerating:(id)a0; - (void)_cutAnimationTailAfterDelayForScrollAnimationFromExternalSource; - (BOOL)eventGestureControllerShouldAllowLongPress:(id)a0; - (void)_scrollDayViewAfterRelayoutDays; - (double)eventGestureController:(id)a0 dateAtPoint:(struct CGPoint { double x0; double x1; })a1; - (void)cut:(id)a0; - (void)hideTimelineHighlight; - (void)_setDayView:(id)a0 toDate:(id)a1; - (void)_updateAllDayAreaHeight; - (void)__cutLongCallbackTailForDecelerationFromUserInput; - (void)__cutLongTailCallbackForScrollAnimationFromExternalSource; - (void)layoutContainerView:(id)a0; - (void)_cleanUpTargetDateComponents; - (BOOL)_isViewInVisibleRect:(id)a0; - (struct CGPoint { double x0; double x1; })pointAtDate:(double)a0 isAllDay:(BOOL)a1; - (void)_setNextAndPreviousFirstVisibleSecondToCurrent; - (id)createOccurrenceViewForEventGestures; - (void)_relayoutDays; - (id)init; - (id)gestureController; - (id)eventsForStartDate:(id)a0 endDate:(id)a1; - (id)touchTrackingViewForEventGestureController:(id)a0; - (void)viewWillAppear:(BOOL)a0; - (void)_localeChanged:(id)a0; - (BOOL)eventEditorPopoverActiveWhileDraggingForEventGestureController:(id)a0; - (void)eventGestureController:(id)a0 requestsPresentationOfViewController:(id)a1; - (id)selectedEventsForEditMenu; - (void)eventGestureController:(id)a0 didCancelEditingOccurrence:(id)a1 fadedOut:(BOOL)a2; - (void)eventGestureController:(id)a0 didMoveToDate:(double)a1 isAllDay:(BOOL)a2; - (id)occurrenceViewForEvent:(id)a0 includeNextAndPreviousDays:(BOOL)a1; - (void)dealloc; - (id)eventGestureController:(id)a0 occurrenceViewForOccurrence:(id)a1; - (void)editorDidCancelEditingEvent:(id)a0; - (BOOL)_shouldEndGestureEditingOnTap; - (void)_showWeekNumbersPreferenceChanged:(id)a0; - (void)cleanUpAfterGestureFailureForEventGestureController:(id)a0; - (unsigned long long)_dateModeForAllDay:(BOOL)a0; - (id)_occurrencesForDayView:(id)a0; - (void)loadDataBetweenStart:(id)a0 end:(id)a1 withTrigger:(int)a2 generation:(int)a3 completionForCurrentDayReload:(id /* block */)a4; - (BOOL)_shouldScrollToNow; - (void)dayView:(id)a0 firstVisibleSecondChanged:(unsigned long long)a1; - (void)scrollDayViewAppropriatelyWithAnimation:(BOOL)a0; - (double)_showNowDelay; - (long long)_effectiveInterfaceOrientationForSize:(struct CGSize { double x0; double x1; })a0; - (BOOL)_isResizing; - (id)interaction:(id)a0 subtitleForPasteActionAtPoint:(struct CGPoint { double x0; double x1; })a1 inView:(id)a2; - (void)reloadDataIfNeeded; - (void)reloadData; - (void)_didRespondToApplicationDidBecomeActiveStateChange; - (double)horizontalOffsetForPagingForEventGestureController:(id)a0; - (BOOL)_isCurrentDayToday; - (void)traitCollectionDidChange:(id)a0; - (BOOL)didScrollWhenEventGestureController:(id)a0 scrollTimerFiredToMoveLeft:(BOOL)a1 right:(BOOL)a2 vertically:(BOOL)a3 towardPoint:(struct CGPoint { double x0; double x1; })a4; - (void)reloadDataForOccurrenceChangeWithGeneration:(int)a0; - (void)scrollToNow:(BOOL)a0; - (void)eventGestureController:(id)a0 didSetUpAtDate:(double)a1 isAllDay:(BOOL)a2; - (BOOL)_delegateRespondsToDisplayedOccurrencesChangedMethod; - (void)viewDidLayoutSubviews; - (void)eventGestureController:(id)a0 adjustDraggingView:(id)a1 forAllDay:(BOOL)a2; - (double)_weightedAllDayHeightForView:(id)a0 visibleRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1; - (void)eventGestureController:(id)a0 requestsShowEvent:(id)a1; - (void)loadData:(BOOL)a0 withTrigger:(int)a1 withCompletion:(id /* block */)a2; - (void)dayView:(id)a0 didUpdateScrollPosition:(struct CGPoint { double x0; double x1; })a1; - (void)setNeedsReload; - (void)pasteboardManager:(id)a0 presentAlert:(id)a1; - (BOOL)_shouldRespondToApplicationDidBecomeActiveStateChange; - (id)eventGestureController:(id)a0 occurrenceViewAtPoint:(struct CGPoint { double x0; double x1; })a1; - (BOOL)interaction:(id)a0 canPasteEventAtPoint:(struct CGPoint { double x0; double x1; })a1 inView:(id)a2; - (BOOL)eventGestureController:(id)a0 didCommitOccurrence:(id)a1 toDate:(double)a2 isAllDay:(BOOL)a3 span:(long long)a4; - (unsigned long long)firstVisibleSecond; - (void)attemptDisplayReviewPrompt; - (void)editorDidSaveEvent:(id)a0; - (void)scrollEventsIntoViewAnimated:(BOOL)a0; - (id)createOccurrenceViewForEventGestureController:(id)a0; - (struct CGPoint { double x0; double x1; })eventGestureController:(id)a0 pointAtDate:(double)a1 isAllDay:(BOOL)a2; - (void)_relayoutDaysDuringScrollingAndPerformDayChanges:(BOOL)a0; - (void)dayView:(id)a0 scrollViewWillBeginDragging:(id)a1; - (void)_scrollToNowOnScrollViewDidEndScrollingAnimation:(id)a0; - (id)dayView:(id)a0 eventsForStartDate:(id)a1 endDate:(id)a2; - (void)_stopShowNowTimer; - (id)_eventsForCutOrCopy; - (void)editorDidDeleteEvent:(id)a0; - (void)viewDidLoad; - (id)currentPresentationController; - (id)presentationControllerForEditMenu; - (void)scrollViewDidEndDragging:(id)a0 willDecelerate:(BOOL)a1; - (void)scrollViewDidEndScrollingAnimation:(id)a0; - (void)_completeScrollingAnimationIfNeeded; - (void)applicationWillResignActive; - (id)_createGutterDayViewWithDayView:(id)a0; - (BOOL)dayViewShouldDrawSynchronously:(id)a0; - (void)copy:(id)a0; - (double)timedRegionOriginForEventGestureController:(id)a0; - (void)applicationDidBecomeActive; - (id)occurrenceViewSuperviewForEventGestureController:(id)a0; - (void)interaction:(id)a0 pasteEventAtPoint:(struct CGPoint { double x0; double x1; })a1 inView:(id)a2; - (id)preferredEventToSelectOnDate:(id)a0; - (void)_cutAnimationTailAfterDelayForDecelerationFromUserInput; - (void)externallyEndedGestureDragging; - (void)scrollViewWillBeginDecelerating:(id)a0; - (void)eventGestureController:(id)a0 addViewToScroller:(id)a1 isAllDay:(BOOL)a2; - (void)pasteboardManager:(id)a0 beginEditingEvent:(id)a1; - (void)scrollEventIntoView:(id)a0 animated:(BOOL)a1; - (void)_setHorizontalContentOffsetUsingSpringAnimation:(struct CGPoint { double x0; double x1; })a0; - (void)blockableScrollViewDidChangeFrameSize; - (id)occurrenceViewForEvent:(id)a0; - (id)dayView:(id)a0 selectedCopyViewForOccurrence:(id)a1; - (void)_showNowTimerFired:(id)a0; - (BOOL)interaction:(id)a0 canCreateEventAtPoint:(struct CGPoint { double x0; double x1; })a1 inView:(id)a2; - (void)_setDisplayDateInternal:(id)a0; - (void)eventGestureControllerDidEndDragSession:(id)a0; - (void)_showNowAfterScrollViewDidEndDecelerating:(id)a0; - (void)dayView:(id)a0 didCreateOccurrenceViews:(id)a1; - (id)editorForEventGestureController:(id)a0; - (void)dayOccurrenceViewSelected:(id)a0 source:(unsigned long long)a1; - (id)createEventForEventGestureController:(id)a0; - (double)eventGestureController:(id)a0 heightForOccurrenceViewOfDuration:(double)a1; - (id)interaction:(id)a0 titleForPasteActionAtPoint:(struct CGPoint { double x0; double x1; })a1 inView:(id)a2; - (id)editorForPasteboardManager:(id)a0; - (id)horizontalScrollView; - (void)_setDisplayDate:(id)a0 forRepeat:(BOOL)a1 animate:(BOOL)a2; - (void)loadView; - (BOOL)interaction:(id)a0 shouldShowMenuAtPoint:(struct CGPoint { double x0; double x1; })a1 inView:(id)a2; - (id)_eventGestureSuperview; - (void)bringEventToFront:(id)a0; - (void)showTimelineHighlightForTime:(id)a0; - (void)_notifyDelegateOfSelectedDateChange; - (void)setFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 gutterWidth:(double)a1; - (void)dayView:(id)a0 isPinchingDayViewWithScale:(double)a1; - (void)updateFrameForProposedTimeView; - (void)significantTimeChangeOccurred; - (void)pasteboardManager:(id)a0 didFinishPasteWithResult:(unsigned long long)a1 willOpenEditor:(BOOL)a2; - (void)dayViewDidTapEmptySpace:(id)a0 onDate:(id)a1; - (BOOL)_canScrollToNow; - (void)eventGestureController:(id)a0 didSingleTapOccurrence:(id)a1 shouldExtendSelection:(BOOL)a2; - (BOOL)_isCalendarDate:(id)a0 sameDayAsComponents:(id)a1; - (void)_completeDecelerationIfNeeded; - (void)interaction:(id)a0 createEventAtPoint:(struct CGPoint { double x0; double x1; })a1 inView:(id)a2; - (id)_eventsForDay:(id)a0; - (BOOL)_canShowNowAfterScrollViewDidEndDecelerating:(id)a0; - (double)eventGestureController:(id)a0 widthForOccurrenceViewOfDays:(unsigned long long)a1; - (BOOL)blockableScrollViewShouldAllowScrolling; - (void)_scrollViewDidEndDecelerating:(id)a0; - (void)insertViewForEvent:(id)a0 belowViewForOtherEvent:(id)a1; - (void)_setDisplayDate:(id)a0 forRepeat:(BOOL)a1; - (void)_highlightEvent:(id)a0 dayViewDate:(double)a1 isAllDay:(BOOL)a2; - (id)verticalScrollView; - (id)initWithTargetSizeClass:(long long)a0; - (void)dayView:(id)a0 didSelectEvent:(id)a1 userInitiated:(BOOL)a2; - (void)dayView:(id)a0 didScaleDayViewWithScale:(double)a1; - (BOOL)eventGestureController:(id)a0 isAllDayAtPoint:(struct CGPoint { double x0; double x1; })a1 requireInsistence:(BOOL)a2; - (double)eventGestureController:(id)a0 heightForAllDayOccurrenceView:(id)a1; - (void)_cancelAllLongTailCuttingCallbacks; - (double)eventGestureController:(id)a0 yPositionPerhapsMatchingAllDayOccurrence:(id)a1 atPoint:(struct CGPoint { double x0; double x1; })a2; - (void)_relayoutDaysDuringScrolling; - (void)_performDisplayedOccurrencesChangedDelegateMethodWithTrigger:(int)a0; - (void)validateInterfaceOrientationWithFutureOrientation:(long long)a0; - (void)_logUserStateDiagnostics:(id)a0; - (void)viewWillDisappear:(BOOL)a0; - (BOOL)canBecomeFirstResponder; - (void).cxx_destruct; - (void)viewDidMoveToWindow:(id)a0 shouldAppearOrDisappear:(BOOL)a1; - (void)viewDidAppear:(BOOL)a0; - (void)viewWillTransitionToSize:(struct CGSize { double x0; double x1; })a0 withTransitionCoordinator:(id)a1; - (void)setTimeZone:(id)a0; - (void)viewDidDisappear:(BOOL)a0; - (void)scrollViewDidScroll:(id)a0; - (void)scrollViewWillBeginDragging:(id)a0; - (BOOL)canPerformAction:(SEL)a0 withSender:(id)a1; - (void)paste:(id)a0; @end