custom(_:)

    Creates a custom platform.

    SupportedPlatforms.swift:29
    SwiftPM
    5.6+
    static func custom(_ platformName: String) -> Platform

    Parameters

    platformName

    The name of the platform.

    Returns

    A Platform instance.

    Use this function if none of the predefined platform names match the platform you are targeting.

    Other members in extension

    Type members