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

Change background color for days with events #14

Closed
calenz opened this issue May 10, 2013 · 1 comment
Closed

Change background color for days with events #14

calenz opened this issue May 10, 2013 · 1 comment

Comments

@calenz
Copy link

calenz commented May 10, 2013

Hi, a small suggestion to have options to show coloured cells or number of events, instead of a dot for days with events? Thank you.

@MosheBerman
Copy link
Owner

That's an interesting suggestion, @calenz.

Coloring Cells would require adding another set of states to the cell, and wiring them up in the right places. Not impossible, but I'm not sure I like it.

Adding a number would require several changes:
• In the cell class, add a label for the number. (The dot is a cheap UIView, if I recall correctly.)
• In the method that lays out the cells, you'd have to query the number of events to update the label. That may cause a performance hit.

If you'd like to fork the repo and give it a shot, I'd love to see what you come up with!

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

No branches or pull requests

2 participants