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

Today should be nullable, to set it to nil in Swift #296

Closed
ph1lb4 opened this issue May 18, 2016 · 4 comments
Closed

Today should be nullable, to set it to nil in Swift #296

ph1lb4 opened this issue May 18, 2016 · 4 comments

Comments

@ph1lb4
Copy link

ph1lb4 commented May 18, 2016

There is an issue when trying to set today to nil in swift as suggested by your documentation.

Please see the attached screenshot for further information:
screen shot 2016-05-18 at 10 49 07

@WenchaoD
Copy link
Owner

Sorry, forgot to modify it. Use this.

    self.calendar.appearance.todayColor = UIColor.clearColor()
    self.calendar.appearance.todaySelectionColor = self.calendar.appearance.selectionColor
    self.calendar.appearance.titleTodayColor = self.calendar.appearance.titleDefaultColor

@ph1lb4
Copy link
Author

ph1lb4 commented May 18, 2016

Thanks!

Is there any way to get the fontsize right as well? It is just a tiny bit taller than the other days.

@WenchaoD
Copy link
Owner

Actually each cell shares the same font.

@ph1lb4
Copy link
Author

ph1lb4 commented May 18, 2016

Sorry my bad, i didn't set the color correctly which made it appear bigger.

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