airbnb / HorizonCalendar

A declarative, performant, iOS calendar UI component that supports use cases ranging from simple date pickers all the way up to fully-featured calendar apps.
Apache License 2.0
2.85k stars 234 forks source link

Support Native visionOS #295

Open bryan1anderson opened 10 months ago

bryan1anderson commented 10 months ago

I was able to compile for visionOS relatively easily. Increased Swift tools version to 5.9, added platform support and handled cases of haptic APIs that aren't supported.

With that said, I have no figured out why the view is completely blank. I know that the the trait collection APIs are deprecated. But other than that I don't have a pulse that would essentially make it render as a completely blank view.

I've had a lot of success helping my favorite libraries migrate to visionOS because the OS supports nearly all UIKit apis. But unsure where to head now

bryan1anderson commented 10 months ago

https://github.com/airbnb/HorizonCalendar/pull/296