Generic Subscript
subscript(_:)
No overview available.
Availability
- iOS 8.0+
- iPadOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 10.0+
Technology
- Swift Standard Library Swift標準ライブラリ
Declaration 宣言
subscript<R>(r: R) -> Slice
<CollectionOfOne
<Element>> where R : RangeExpression
, Int
== R.Bound
{ get set }