Swift 标准库文档
来源:互联网 发布:男鞋推荐 知乎 编辑:程序博客网 时间:2024/05/18 03:25
结构体
- AnyBidirectionalCollection
A type-erased wrapper over any collection with indices that support bidirectional traversal. - AnyBidirectionalIndex
A wrapper over an underlying BidirectionalIndexType that hides the specific underlying type. - AnyForwardCollection
A type-erased wrapper over any collection with indices that support forward traversal. - AnyForwardIndex
A wrapper over an underlying ForwardIndexType that hides the specific underlying type. - AnyGenerator
A type-erased generator of Element. - AnyRandomAccessCollection
A type-erased wrapper over any collection with indices that support random access traversal. - AnyRandomAccessIndex
A wrapper over an underlying RandomAccessIndexType that hides the specific underlying type. - AnySequence
A type-erased sequence. Array
数组
ArraySlice
The Array-like type that represents a sub-sequence of any Array, ContiguousArray, or other ArraySlice.- AutoreleasingUnsafeMutablePointer
A mutable pointer-to-ObjC-pointer argument. Bool
A value type whose instances are either true or false.COpaquePointer
不确定类型的指针
CVaListPointer
可变参数表指针
Character
Unicode 编码字符
ClosedInterval
A closed IntervalType, which contains both its start and its end.- CollectionOfOne
A collection containing a single element of type Element. ContiguousArray
A fast, contiguously-stored array of Element.Dictionary
字典
DictionaryGenerator
A generator over the members of a Dictionary< Key, Value>.
Used to access the key-value pairs in an instance of Dictionary< Key, Value>.
Represent the ability to pass a dictionary literal in function signatures.
Double
浮点数
EmptyCollection
A collection whose element type is Element but that is always empty.
A generator that never produces an element.
The GeneratorType for EnumerateSequence.
The SequenceType returned by enumerate().
A flattened view of a base collection-of-collections.
A position in a FlattenBidirectionalCollection.
A flattened view of a base collection-of-collections.
A position in a FlattenCollection.
A flattened view of a base generator-of-sequences.
A flattened view of a base sequence-of-sequences.
Float
浮点数
GeneratorOfOne
A generator that produces one or fewer instances of Element.
A sequence built around a generator of type G.
A half-open IntervalType, which contains its start but not its end.
A generator for an arbitrary collection.
Int
64比特 有符号整数
Int16
16比特 有符号整数
Int32
32比特 有符号整数
Int64
64比特 有符号整数
Int8
8比特 有符号整数
JoinGenerator
A generator that presents the elements of the sequences generated by Base, concatenated using a given separator.
A sequence that presents the elements of the Base sequences concatenated using a given separator.
A collection containing the same elements as a Base collection, but on which some operations such as map and filter are implemented lazily.
A lazy CollectionType wrapper that includes the elements of an underlying collection that satisfy a predicate.
A generator that produces the elements produced by some base generator that also satisfy a given predicate.
The Index used for subscripting a LazyFilterCollection.
A sequence whose elements consist of the elements of some base sequence that also satisfy a given predicate.
A CollectionType whose elements consist of those in a Base CollectionType passed through a transform function returning Element.
The GeneratorType used by MapSequence and MapCollection.
A SequenceType whose elements consist of those in a Base SequenceType passed through a transform function returning Element.
A sequence containing the same elements as a Base sequence, but on which some operations such as map and filter are implemented lazily.
Contains a buffer object, and provides access to an instance of Value and contiguous storage for an arbitrary number of Element instances stored in that buffer.
Representation of the sub-structure and optional “display style” of any arbitrary subject instance.
A view into a sub-sequence of elements of another collection.
A unique identifier for a class instance or metatype.
A generator that adapts a collection C and any sequence of its Index type to present the collection’s elements in a permuted order.
Range
序列
RangeGenerator
A generator over the elements of Range< Element>.
A byte-sized thing that isn’t designed to interoperate with any other types; it makes a decent parameter to UnsafeMutablePointer< Memory> when you just want to do bytewise pointer arithmetic.
A collection whose elements are all identical Elements.
A Collection that presents the elements of its Base collection in reverse order.
A wrapper for a BidirectionalIndexType that reverses its direction of traversal.
A Collection that presents the elements of its Base collection in reverse order.
A wrapper for a RandomAccessIndexType that reverses its direction of traversal.
Set
集合
SetGenerator
A generator over the members of a Set< Element>.
Used to access the members in an instance of Set< Element>.
Slice
切片
StaticString
编译期确定的字符串
StrideThrough
A SequenceType of values formed by striding over a closed interval.
A GeneratorType for StrideThrough< Element>.
A SequenceType of values formed by striding over a half-open interval.
A GeneratorType for StrideTo< Element>.
String
Unicode 编码字符串
String.CharacterView
A String’s collection of Characters (extended grapheme clusters) elements.
A character position.
A collection of UTF-16 code units that encodes a String value.
A position in a string’s collection of UTF-16 code units.
A collection of UTF-8 code units that encodes a String value.
A position in a String.UTF8View.
A collection of Unicode scalar values that encodes a String value.
A type whose instances can produce the elements of this sequence, in order.
A position in a String.UnicodeScalarView.
Uint
64比特 无符号整数
UInt16
16比特 无符号整数
UInt32
32比特 无符号整数
UInt64
64比特 无符号整数
UInt8
8比特 无符号整数
UTF16
UTF-16 编码
UTF32
UTF-32 编码
UTF8
UTF-8 编码
UnicodeScalar
Unicode 编码
Unmanaged
A type for propagating an unmanaged object reference.
UnsafeBufferPointer
连续内存的常量指针
UnsafeBufferPointerGenerator
A generator for the elements in the buffer referenced by UnsafeBufferPointer or - UnsafeMutableBufferPointer.
UnsafeMutableBufferPointer
连续内存的指针
UnsafeMutablePointer
变量指针
UnsafePointer
常量指针
Zip2Generator
A generator for Zip2Sequence.
Zip2Sequence
A sequence of pairs built out of two underlying sequences, where the elements of the ith pair are the ith elements of each underlying sequence.
- Swift 标准库文档
- swift 标准库
- Golang标准库文档
- Swift 常用标准库协议
- Swift4.0 新特性----Swift标准库
- Swift中的标准函数
- Swift标准函数
- Swift 3.1 发布,包含对标准库的改进
- SWIFT API 使用文档
- swift 中文文档
- ios swift官方文档
- swift 资料、文档、视频
- Swift 文档注释规范
- Swift 官方文档地址
- Swift文档注释
- Swift 官方文档笔记
- 【iOS】swift 74个Swift标准库函数
- Delphi代码标准文档
- Android 属性动画详解
- SQL SERVER 系统函数
- css3笔记
- Java数据类型
- Linux学习-vmware虚拟机安装tomcat
- Swift 标准库文档
- css3笔记
- css3笔记
- C++ 虚函数和纯虚函数的区别
- css3笔记
- js代码调用c++代码的测试
- css3笔记
- JSP中的9个内置对象
- css3笔记