Skip to content


Subversion checkout URL

You can clone with
Download ZIP


reloadDay method problem #158

wants to merge 3 commits into from

2 participants


Hi Devin,

I use the TKCalenderDayView over the addChildController method of a parent controller -> Segmented Control.
The TKCalendarDayTimelineView: didMoveToWindow method is called everytime if I switch between the segmented controls. This causes a few troubles, like some methods of my TKCalenderDayView are called to update some appoinments.

Now the reloadDay method is only called if the events array is empty.

So if you want, feel free to pull my commit.
If you find a better way to solve this problem please let me know.



The TKCalendarDayView under major revision. I'm going to include this change in the next commit. Thanks!

@devinross devinross closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 15, 2012
  1. Only the reloadDay method of the TKCalendarDayTimelineView controller…

    fritjof authored
    … in didMoveToWindow is called if the events array is empty.
Commits on Jul 4, 2012
Commits on Sep 25, 2012
  1. Merge branch 'master' of

    Fritjof Bornebusch authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/TapkuLibrary/TKCalendarDayTimelineView.m
2  src/TapkuLibrary/TKCalendarDayTimelineView.m
@@ -169,7 +169,7 @@ -(void)setIs24hClock:(BOOL)aIs24hClock {
- (void)didMoveToWindow
- if (self.window != nil) {
+ if (self.window != nil && ( == nil)) {
[self reloadDay];
Something went wrong with that request. Please try again.