Skip to content

Commit

Permalink
Add method reload actully run setup method
Browse files Browse the repository at this point in the history
  • Loading branch information
Husseinhj committed Nov 7, 2017
1 parent a6e8062 commit 48ef7ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ios_calendar/Sources/CalendarView.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ typedef NS_ENUM(NSInteger, CalendarEvent)
- (instancetype)initWithPosition:(CGFloat)x y:(CGFloat)y;
- (void)setMode:(NSInteger)m;
- (void)refresh;
- (void)reload;
- (void)advanceCalendarContents;
- (void)rewindCalendarContents;

Expand Down
3 changes: 3 additions & 0 deletions ios_calendar/Sources/CalendarView.m
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ - (NSLocale *) locale{
}

#pragma mark - reload

- (void) reload{
[self setup];
}
#pragma mark - Refresh

Expand Down

0 comments on commit 48ef7ed

Please sign in to comment.