swiftOnIos property

bool get swiftOnIos

True when the module is implemented in Swift on iOS. The generator emits one Swift bridge for both Apple platforms, so a module that does not target iOS follows macOS; one on neither (Android-only, desktop-only) has no Swift side at all.

Implementation

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