ElegantCalendar v4.0.0 Release Notes

Release Date: 2020-07-15 // over 3 years ago
  • 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:

    0️⃣ 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.