calendarkit

Can I use View Controller (CalendarKit) in SwiftUI application?

流过昼夜 提交于 2021-01-04 10:38:14
问题 I want to use CalendarKit in my project github here It's written using UIKit, but my project uses SwiftUI. Can I use CustomCalendarExampleController in SwiftUI? (maybe via UIViewControllerRepresentable or smth else?) CustomCalendarExampleController - class CustomCalendarExampleController: DayViewController, DatePickerControllerDelegate { var data = [["Breakfast at Tiffany's", "New York, 5th avenue"], ["Workout", "Tufteparken"], ["Meeting with Alex", "Home", "Oslo, Tjuvholmen"], ["Beach