swiftOnMacos property

bool get swiftOnMacos

True when the module is implemented in Swift on macOS; one that does not target macOS follows iOS.

Implementation

bool get swiftOnMacos => _appleImpl('macos', 'swift') || (!_appleImpl('macos', 'cpp') && _appleImpl('ios', 'swift'));