Rename YCalendarPicker and YCalendarView
mpospese opened this issue · comments
Mark Pospesel commented
Intro
We should reserve the Y prefix for our framework names not for objects within our classes.
Tasks
- Rename YCalendarPicker (and file names) to
CalendarPicker
- Rename YCalendarView (and file names) to
CalendarView
- Rename
Classes
folder toUIKit
- Rename
Views
folder toSwiftUI
- So that this is not a breaking change, let's add a type alias from the old names:
/// UIKit month calendar picker
///
/// Renamed to `CalendarPicker`.
@available(*, deprecated, renamed: "CalendarPicker")
public typealias YCalendarPicker = CalendarPicker
/// Swift UI month calendar picker
///
/// Renamed to `CalendarView`.
@available(*, deprecated, renamed: "CalendarView")
public typealias YCalendarView = CalendarView