-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTSDayViewController.h
More file actions
56 lines (45 loc) · 1.77 KB
/
Copy pathTSDayViewController.h
File metadata and controls
56 lines (45 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//
// TSDayViewController.h
// TimeStamp-Homepage
//
// Created by Awais Hussain on 3/16/13.
// Copyright (c) 2013 Awais Hussain. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GCCalendar.h"
#import "GCCalendarTodayView.h"
@class GCDatePickerControl;
@class GCCalendarDayView;
@class TableHeaderToolBar;
@class TSMenuBoxContainer;
@class GCCalendarTodayView;
@class TSCalendarStore;
/*
GCCalendarPortraitView defines the top-level view controller containing
calendar events for a single day. This view works best when placed in
the stack of a navigation controller. If no navigation controller is present,
the "Today" button will not be available to the user.
The most notable method inside this class is calendarTileTouch: which is called
whenever a CGCalendarTileTouchNotification is posted to the default notification
center. Use the userInfo field of the event (not of the notification) to
push a detailed view controller onto the stack with more information about the
event (currently unimplemnted)
*/
@interface TSDayViewController : GCCalendarView <GCCalendarDataSource, GCCalendarTodayViewDelegate, GCCalendarTodayViewDatasource> {
TSCalendarStore *model;
// scrollView wraps the today views
UIScrollView *scrollView;
UIView *compositeView;
GCCalendarTodayView *todayView;
// view has changed since last time on screen
BOOL viewDirty;
// view is on screen
BOOL viewVisible;
}
-(void)createEvent:(GCCalendarEvent *)event AtCenterPoint:(CGPoint)point withDuration:(NSTimeInterval)seconds;
- (void)scrollToCurrentTime;
- (void)reloadTodayView;
@property (weak, nonatomic) UIViewController *superController;
@property (weak, nonatomic) IBOutlet UIView *calWrapperView;
@property (nonatomic, strong) NSDate *date;
@end