Releases: ThasianX/ElegantCalendar
More calendar color customization!
Fixed incorrect weekday symbols for nongregorian calendars
4.3.1 Fixed incorrect weekday symbols for nongregorian calendars
Horizontal calendar orientation is now available!
Just use the new vertical
or horizontal
modifier on your calendar view!
Lowered Swift tools version and end month bug fix!
- Updated ElegantPages to fix bug where the delegate was being called at calendar creation
- Fixed bug where if the end date was the exact start of a given month, that month wouldn’t be shown
- Lowered the swift tools version. Now compatible with any Xcode 11 version!
- Updated the examples
You can now specify a custom width for the monthly calendar view
Just use .frame(width:)
on your MonthlyCalendarView
Fixed scrolling to the last month
4.0.2 updated elegantpages to fix scrolling to last page
Fixed scrolling to specific month issue
Hotfix for the previous release. Manually scrolling to a particular month should work fine now.
New themes! New syntax!
8 new themes that look elegant in any app!
Major changes:
CalendarConfiguration
now doesn't manage the calendar's theme or haptics settings anymore. This makes sense because a change in the configuration should result in a complete reset of the calendar. This means that whatever month or year the user is scrolled on currently is reset as well. In this line of thought, it doesn't make sense for a full reset to occur whenever the theme or haptic settings change. These changes should only result in a few minor adjustments in appearances and logic. State is preserved and user experience remains well now whenever the theme or haptics settings are changed now.
The new syntax for this is:
ElegantCalendarView(...).theme(_yourTheme or one of the default ones)
ElegantCalendarView(...).allowsHaptics(_whether or not you want to enable haptics)
See README.md customization for more info. The great thing about this is that you can now change the theme or haptics settings by passing in a binding variable, which is a great trend towards declarative code.
Fixed a bug where the custom scroll to today icon was being rerendered everytime it was shown
3.0.1 hotfix for scroll button image being rerendered everytime it's shown
UI overhaul! Calendar looks slicker now :)
Calendar scrolls are quicker now in line with the new haptics and just feels better in general. The monthly header and day view text font size has been decreased just a tad bit in proportion to the view size. The scroll back to today icon has been replaced with a custom icon that looks much cleaner.
Major change: Use of custom icons instead of SF Symbol icons. See README.md
instructions on how to use the new icons.