File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Sources/YourCalendar/Implementation Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ import UIKit
8
8
public final class BasicCalendarViewConfigurator : CalendarViewConfiguratorProtocol {
9
9
public typealias Predicate = ( Date ) -> Bool
10
10
public typealias Model = CalendarViewDayCell . Model
11
-
11
+
12
+ /// Selected day model
13
+ private( set) var selectedDay : Date ?
14
+
12
15
private var formatter = DateFormatter ( ) . with {
13
16
$0. dateFormat = " d "
14
17
}
@@ -25,8 +28,6 @@ public final class BasicCalendarViewConfigurator: CalendarViewConfiguratorProtoc
25
28
( Constants . calendar. shortWeekdaySymbols [ safe: $0 % Constants. weekdaysCount] ?? " " ) . uppercased ( )
26
29
}
27
30
28
- private var selectedDay : Date ?
29
-
30
31
/// Designated initialiser
31
32
/// - Parameter enumerator: Calendar page dates enumerator
32
33
public init ( enumerator: CalendarViewDateEnumeratorProtocol ) {
You can’t perform that action at this time.
0 commit comments