Follow

Somebody out there who can answer this question about swift language [1]?

Is there a way I can import different packages depending on the OS used?

Example:

Build on MacOS:
import CryptoKit

Build on Linux:
import Crypto

[1] swift.org/

· · Web · 0 · 1 · 0
Sign in to participate in the conversation
Meinungsschublade

Gemütliche Mastodon-Instanz über dies und das :)