BastiaanJansen / toast-swift

Customizable Swift Toast view built with UIKit. 🍞
MIT License
489 stars 77 forks source link

Add visionOS support #55

Open Zandor300 opened 8 months ago

Zandor300 commented 8 months ago

This lib could be useful for visionOS apps. Haven't done a lot yet with visionOS apps but since some people already made visionOS precompile conditional statements, someone else could join in on this discussion.

Currently visionOS isn't listed as a supported platform in SwiftPM Package.swift or Cocoapods podspec. (They were out of sync so I created PR https://github.com/BastiaanJansen/toast-swift/pull/54 to fix that)

If the library works out of the box we could add visionOS platform support, but maybe other changes are needed to get it to work or to polish it.

Just wanted to start the discussion.

(I live in EU, no Apple Vision Pro for me 😭)