9 #import <UIKit/UIKit.h> 10 #import <NSString+CalendarView.h> 12 typedef NS_ENUM(NSInteger, CalendarViewType)
15 CalendarViewTypeMonth,
24 CalendarModeMonthsAndYears,
32 CalendarEventDoubleTap,
33 CalendarEventSwipeLeft,
34 CalendarEventSwipeRight,
42 @property NSString *
str;
48 @protocol CalendarViewDelegate <NSObject>
51 - (void)didChangeCalendarDate:(NSDate *)date;
54 - (void)didChangeCalendarDate:(NSDate *)date withType:(NSInteger)type withEvent:(NSInteger)event;
55 - (void)didDoubleTapCalendar:(NSDate *)date withType:(NSInteger)type;
56 - (void)didSelectRangeForStartDate:(NSDate *) startDate andEndDate:(NSDate *) endDate;
62 - (instancetype)initWithPosition:(CGFloat)x y:(CGFloat)y;
63 - (void)setMode:(NSInteger)m;
69 @property (nonatomic, strong) NSMutableArray *
dayRects;
80 @property (nonatomic, strong) UIColor *
bgColor;
91 @property (nonatomic, strong) NSString *
fontName;
101 @property (nonatomic, strong) NSLocale *
locale;
107 - (NSDictionary *)generateAttributes:(NSString *)fontName withFontSize:(CGFloat)fontSize withColor:(UIColor *)color withAlignment:(NSTextAlignment)textAlignment;
108 - (void)drawCircle:(CGRect)rect toContext:(CGContextRef *)context withColor:(UIColor *)color;
typedef NS_ENUM(NSInteger, CalendarViewType)
BOOL useVeryShortWeekdaySymbols
NSMutableArray * dayRects
id< CalendarViewDelegate > calendarDelegate
UIColor * fontSelectedColor
BOOL shouldMarkSelectedDate
NSInteger preferredWeekStartIndex
void advanceCalendarContents()
UIColor * fontHeaderColor
void rewindCalendarContents()
NSCalendarIdentifier calendarIdentifier