Skip to content

Conversation

@emaloney
Copy link

Hello,

Thank you for your project; I've found it useful, and I appreciate your work on it.

I had a need for additional color customizations, so I added some new attributes to be used through the CLWeeklyCalendarViewDelegate's CLCalendarBehaviorAttributes method:

• CLCalendarPastDayNumberTextColor — The day-of-month number text color for dates in the past
• CLCalendarFutureDayNumberTextColor – The day-of-month number text color for dates in the future
• CLCalendarCurrentDayNumberTextColor — The day-of-month number text color for today
• CLCalendarSelectedDayNumberTextColor — The day-of-month number text color for the selected day when that date is not today
• CLCalendarSelectedCurrentDayNumberTextColor — The day-of-month number text color for the selected day when that date is today
• CLCalendarCurrentDayNumberBackgroundColor — The background color to use for the highlight circle behind the current day when that date isn't selected
• CLCalendarSelectedDayNumberBackgroundColor — The background color to use for the highlight circle behind the selected day when that date is not today
• CLCalendarSelectedCurrentDayNumberBackgroundColor — The background color to use for the highlight circle behind the selected day when that date is today

I'm submitting this pull request in the hopes that you find my changes useful.

Thanks,
E.

• CLCalendarPastDayNumberTextColor — The day-of-month number text color for dates in the past
• CLCalendarFutureDayNumberTextColor – The day-of-month number text color for dates in the future
• CLCalendarCurrentDayNumberTextColor — The day-of-month number text color for today
• CLCalendarSelectedDayNumberTextColor — The day-of-month number text color for the selected day when that date is not today
• CLCalendarSelectedCurrentDayNumberTextColor — The day-of-month number text color for the selected day when that date is today
• CLCalendarCurrentDayNumberBackgroundColor — The background color to use for the highlight circle behind the current day when that date isn't selected
• CLCalendarSelectedDayNumberBackgroundColor — The background color to use for the highlight circle behind the selected day when that date is not today
• CLCalendarSelectedCurrentDayNumberBackgroundColor — The background color to use for the highlight circle behind the selected day when that date is today
esusatyo added a commit to esusatyo/CLWeeklyCalendarView that referenced this pull request Feb 4, 2016
@esusatyo
Copy link

esusatyo commented Feb 4, 2016

Hi, thanks for this pull request. I forked this repo here and copied this pull request and the others, I'll also release this in Cocoapods soon.

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

Successfully merging this pull request may close these issues.

2 participants