HorizonCalendar v1.7.0 Release Notes

Release Date: 2021-01-27 // over 3 years ago
  • โž• Added

    • โž• Added HorizontalMonthsLayoutOptions and VerticalMonthsLayoutOptions for configuring horizontal and vertical calendars
    • โž• Added pagination support for horizontal calendars

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a localization issue with the date formatters used by the default month header and day views
    • ๐Ÿ›  Fixed a layout bug due to inaccurate floating point comparison math
    • ๐Ÿ›  Fixed a visual issue where reused subviews of the calendar would animate from their old frame to their new frame
    • ๐Ÿ›  Fixed an incorrect Hashable / Equatable implementation for the internal VisibleCalendarItem type
    • ๐Ÿ›  Fixed a bug that caused didEndDecelerating to be called instead of didEndDragging
    • ๐Ÿ›  Fixed a Mac-Catalyst scrolling bug

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated the MonthsLayout API to be more consistent for both vertical and horizontal calendars
    • ๐Ÿ—„ Deprecated MonthsLayout.horizontal(monthWidth: CGFloat) in favor of MonthsLayout.horizontal(options: HorizontalMonthsLayoutOptions)
    • โšก๏ธ Updated README.md to use Calendar.current rather than Calendar(identifier: .gregorian)
    • Consolidated some internal layout code
    • Simplified internal UIScrollView state management to no longer loop the scroll position