swift
文章平均质量分 56
「已注销」
这个作者很懒,什么都没留下…
展开
-
Swift 标准库文档
结构体AnyBidirectionalCollection A type-erased wrapper over any collection with indices that support bidirectional traversal.AnyBidirectionalIndex A wrapper over an underlying BidirectionalIndexType t原创 2016-05-21 18:46:58 · 822 阅读 · 0 评论 -
Swift 原始指针
UnsafePointer 常量, 原始指针 (C表达法 Type const*) UnsafePointer<U> 原始指针 (C表达法 Type *) UnsafeMutablePointer<U>init() 空参数init(COpaquePointer) 不确定类型init(UnsafeMutablePointer<>) 原始指针init原创 2016-05-19 20:25:50 · 995 阅读 · 0 评论 -
Swift 协议详解
protocol OutputStreamType `文本输出流`{ mutating func write(_ string: String)}protocol Streamable `可以被输出`{ func writeTo<Target : OutputStreamType>(inout _ target: Target)}struc原创 2016-05-22 20:55:33 · 842 阅读 · 0 评论