subscript(_:as:)
Reads the value associated with the given key as an XPC dictionary.
Declaration
subscript(index: Int, as type: XPCDictionary.Type = XPCDictionary.self) -> XPCDictionary? { get }Parameters
- index:
The position of the element to access.
- type:
The expected type for the returned value.
Return Value
The value at the specified index in the array.