klazuka / Kal

A calendar component for the iPhone (the UI is designed to match MobileCal)
http://www.thepolypeptides.com
1.22k stars 345 forks source link

Why doesn't show content in the first tileview every month? #29

Closed guoawei closed 13 years ago

guoawei commented 13 years ago

I have to show something in the first tile view. For example, I let 2011/3/27 have a event. In March,I can see a dot in 27 tile view. When I turn to April, I see the front month 3/27 is gray text. But I can't see dot in April. So, I research it. It's the first tile of every month not show event. How do fix it ?

klazuka commented 13 years ago

It should work. I just ran the Holidays example app and when viewing March 2011, I can see a dot under April 1st 2011 even though it is one of the "grayed-out" days.

Did you implement your KalDataSource delegate methods correctly? Please compare it to the Holidays data source implementations that I provided with the project.

guoawei commented 13 years ago

I just ran the Holidays example app too. My problem is when I input a event into March 27th 2011. I can see a dot when viewing March 2011. But when I press next month button to April 2011, I can't see a dot in "grayed-out" March 27th 2011.