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

Custom color for a day #15

Open
SYM1000 opened this issue Jul 20, 2020 · 1 comment
Open

Custom color for a day #15

SYM1000 opened this issue Jul 20, 2020 · 1 comment

Comments

@SYM1000
Copy link

SYM1000 commented Jul 20, 2020

Great work with the calendar library. Is there any way to mark a day and mark the day with a specific color?

@SYM1000 SYM1000 changed the title Custom day Custom color for a day Jul 20, 2020
@workingDog
Copy link
Contributor

you could try this:

    rkManager1.selectedDates = [Date().addingTimeInterval(60*60*24*2)]
    rkManager1.colors.selectedBackColor = Color.green
    rkManager1.colors.selectedColor = Color.purple

Note, this will change the color for all dates in selectedDates, but if you only put one in...

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