subscript(_:)
Returns the object specified by the key.
Declaration
subscript(key: Any) -> Any? { get }Parameters
- key:
The key associated with the retrieved object.
Return Value
The object that is specified by the key.
Discussion
The method provides read-only support for Objective-C subscripting syntax with MPMediaEntity property constants.