The elegant full screen calendar missed in SwiftUI.
You can now customize the text color and background color of calendar views
Just use the new vertical
or horizontal
modifier on your calendar view!
Just use .frame(width:)
on your MonthlyCalendarView
Hotfix for the previous release. Manually scrolling to a particular month should work fine now.
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.
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.