Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TKCalendarDayTimelineView Issue/Fix #51

Closed
tappintime opened this issue Jan 30, 2011 · 1 comment
Closed

TKCalendarDayTimelineView Issue/Fix #51

tappintime opened this issue Jan 30, 2011 · 1 comment

Comments

@tappintime
Copy link

Problem:
TKCalendarDayTimelineView loads for me but am only seeing events on a blank scrollView, no timelineView being displayed.

Workaround:
Found drawRect was not being called when TKTimelineView was first initialized and added to the scrollView. Decided to call "reloadDay" from my VC and found that that line 192 of TKCalendarDayTimelineView still referenced the timelineView with the old "OD" prefix:

Line 192: if (![NSStringFromClass([view class])isEqualToString:@"ODTimelineView"]) {

Changed to "TKTimelineView" and reload now triggers drawRect for my TKTimelineView and the timeLineView displays. LIfe is good.

Thanks Devin for sharing this amazing work.

@devinross
Copy link
Owner

Ok, got it.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants