HorizonCalendar v1.7.0 Release Notes
Release Date: 2021-01-27 // over 3 years ago-
โ Added
- โ Added
HorizontalMonthsLayoutOptions
andVerticalMonthsLayoutOptions
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 internalVisibleCalendarItem
type - ๐ Fixed a bug that caused
didEndDecelerating
to be called instead ofdidEndDragging
- ๐ 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 ofMonthsLayout.horizontal(options: HorizontalMonthsLayoutOptions)
- โก๏ธ Updated README.md to use
Calendar.current
rather thanCalendar(identifier: .gregorian)
- Consolidated some internal layout code
- Simplified internal
UIScrollView
state management to no longer loop the scroll position
- โ Added