hmlongco / Factory

A new approach to Container-Based Dependency Injection for Swift and SwiftUI.
MIT License
1.71k stars 107 forks source link

Cleanup some compilation conditionals #131

Closed o-nnerb closed 1 year ago

o-nnerb commented 1 year ago

Removed the if swift(>=5.1) because the minimum for Factory is 5.6. Also, I've updated the #if os(...) to #if canImport(SwiftUI) to extends support for visionOS too.