-
Notifications
You must be signed in to change notification settings - Fork 120
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
Feature Request: Method to change the dot color #49
Comments
Hey, there's already a better way to do this. ;-) Import the CKCalendarCell header class. Then, use UIAppearance to change the dotColor property. |
I do wonder though, perhaps exposing that through the calendar view data source is a good idea. |
But that looks like it will set the color for all dots. Not just the dot for that date... |
Ah, I see. That's interesting... |
What do you think about a datasource method like |
That would be perfect ;) I don't see it returning a UIColor object there, but you have something planned, I bet. |
What about possibility of the changing color for a cell? i.e: |
@bci, good catch about returning a color, fixed. @Beisenbek, we can do that too, but I think it makes sense to use |
Hi Moshe, the calendar that I need to implement must deal with two types of events. For one I have to paint the cell with a color and for the other I need another color. How can I change the cells colors? Thanks, I really appreciate all your work |
MBCalendarKit 5.0.0 allows for a lot more customization with the cells. Check out the Custom Cell Provider section of the updated readme for more. Since this issue is really old, I'm going to close it. Feel free to comment here with more thoughts, or open a new issue. |
Can be part of CKCalendarDataSource.h:
I'll try this (and maybe
calendarView:labelColorForDate
, andcalendarView:backgroundColorForDate
), I need to learn more ;) I'm just afraid the code will not be as clean...The text was updated successfully, but these errors were encountered: