SKModuleWrapper

@objc
public class SKModuleWrapper : SKDataWrapper

Undocumented

  • Undocumented

    Declaration

    Swift

    public override class var supportsSecureCoding: Bool { get }
  • Creates a new module wrapper.

    Throws

    A SKXPCError if encoding fails.

    Declaration

    Swift

    public convenience init(xpcModule: Module) throws

    Parameters

    module

    The module to wrap.

  • Creates a new module wrapper.

    Throws

    A SKError if encoding fails.

    Declaration

    Swift

    public convenience init(module: Module) throws

    Parameters

    module

    The module to wrap.

  • The wrapped Module.

    Throws

    A SKError if decoding fails.

    Declaration

    Swift

    public func module() throws -> Module

    Return Value

    The wrapped Module.

  • The wrapped Module.

    Throws

    A SKXPCError if decoding fails.

    Declaration

    Swift

    public func xpcModule() throws -> Module

    Return Value

    The wrapped Module.