Skip to content

Commit

Permalink
refactor: CalendarKitDemo make classes final
Browse files Browse the repository at this point in the history
  • Loading branch information
glaphi committed Mar 18, 2023
1 parent f290d25 commit d30ce34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import UIKit
import CalendarKit

class CustomCalendarExampleController: DayViewController {

final class CustomCalendarExampleController: DayViewController {
var data = [["Breakfast at Tiffany's",
"New York, 5th avenue"],

Expand Down
2 changes: 1 addition & 1 deletion CalendarKitDemo/CalendarApp/DatePickerController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ protocol DatePickerControllerDelegate: AnyObject {
func datePicker(controller: DatePickerController, didSelect date: Date?)
}

class DatePickerController: UIViewController {
final class DatePickerController: UIViewController {

weak var delegate: DatePickerControllerDelegate?

Expand Down

0 comments on commit d30ce34

Please sign in to comment.