DispatchQueueExecutableCocoaPodsService

class DispatchQueueExecutableCocoaPodsService

The DispatchQueueExecutableCocoaPodsService

  • Designated Initializer

    Declaration

    Swift

    init(executable: Executable,
         dispatchQueue: DispatchQueue = .init(label: "de.tiigi.SwiftKit.cocoapods-service"))

    Parameters

    executable

    The Executable

    dispatchQueue

    The DispatchQueue. Default value .init

  • Check if a Pod with a given name is available

    Declaration

    Swift

    func isPodAvailable(forName name: String, _ completion: @escaping (Bool) -> Void)

    Parameters

    name

    The Pod name

    completion

    The completion closure