Contents

subscript(_:as:)

Get a value in this array as an endpoint.

Declaration

subscript(index: Int, as type: XPCEndpoint.Type = XPCEndpoint.self) -> XPCEndpoint? { get }

Parameters

  • index:

    The index at which to get the endpoint.

  • type:

    The expected type of the resulting value.

Return Value

An endpoint value or nil if no such value was found.