摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/24_Advanced_Operators.html本页内容包括:位运算符溢出运算符优先级和结合性(Precedence and Associa... 阅读全文
posted @ 2015-01-18 22:16 回读(IOS) 阅读(379) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/23_Access_Control.html本页内容包括:模块和源文件访问级别访问级别的使用原则默认访问级别单目标应用程序的访问级别Framew... 阅读全文
posted @ 2015-01-18 22:15 回读(IOS) 阅读(243) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/22_Generics.html本页包含内容:泛型所解决的问题泛型函数类型参数命名类型参数泛型类型类型约束关联类型Where语句泛型代码可以让你... 阅读全文
posted @ 2015-01-18 22:14 回读(IOS) 阅读(360) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/21_Protocols.html本页包含内容:协议的语法(Protocol Syntax)对属性的规定(Property Requiremen... 阅读全文
posted @ 2015-01-18 22:13 回读(IOS) 阅读(402) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/20_Extensions.html本页包含内容:扩展语法计算型属性构造器方法下标嵌套类型扩展就是向一个已有的类、结构体或枚举类型添加新功能(f... 阅读全文
posted @ 2015-01-18 22:10 回读(IOS) 阅读(231) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/19_Nested_Types.html本页包含内容:嵌套类型实例嵌套类型的引用枚举类型常被用于实现特定类或结构体的功能。也能够在有多种变量类型... 阅读全文
posted @ 2015-01-18 21:49 回读(IOS) 阅读(281) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/18_Type_Casting.html本页包含内容:定义一个类层次作为例子检查类型向下转型(Downcasting)Any和AnyObject... 阅读全文
posted @ 2015-01-18 21:48 回读(IOS) 阅读(238) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/17_Optional_Chaining.html本页包含内容:可选链可替代强制解析为可选链定义模型类通过可选链调用属性通过可选链调用方法使用可... 阅读全文
posted @ 2015-01-18 21:46 回读(IOS) 阅读(391) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/16_Automatic_Reference_Counting.html本页包含内容:自动引用计数的工作机制自动引用计数实践类实例之间的循环强引... 阅读全文
posted @ 2015-01-18 21:45 回读(IOS) 阅读(292) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/15_Deinitialization.html本页包含内容:析构过程原理析构函数操作在一个类的实例被释放之前,析构函数被立即调用。用关键字de... 阅读全文
posted @ 2015-01-18 21:44 回读(IOS) 阅读(299) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/14_Initialization.html本页包含内容:存储型属性的初始赋值定制化构造过程默认构造器值类型的构造器代理类的继承和构造过程通过闭... 阅读全文
posted @ 2015-01-18 21:42 回读(IOS) 阅读(236) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/13_Inheritance.html本页包含内容:存储属性(Stored Properties)计算属性(Computed Propertie... 阅读全文
posted @ 2015-01-18 21:41 回读(IOS) 阅读(222) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/12_Subscripts.html本页包含内容:下标脚本语法下标脚本用法下标脚本选项下标脚本可以定义在类(Class)、结构体(structu... 阅读全文
posted @ 2015-01-18 21:40 回读(IOS) 阅读(264) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/11_Methods.html本页包含内容:实例方法(Instance Methods)类型方法(Type Methods)方法是与某些特定类型... 阅读全文
posted @ 2015-01-18 21:39 回读(IOS) 阅读(193) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/10_Properties.html本页包含内容:存储属性(Stored Properties)计算属性(Computed Properties... 阅读全文
posted @ 2015-01-18 21:38 回读(IOS) 阅读(268) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/09_Classes_and_Structures.html本页包含内容:类和结构体对比结构体和枚举是值类型类是引用类型类和结构体的选择集合(c... 阅读全文
posted @ 2015-01-18 21:36 回读(IOS) 阅读(378) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/08_Enumerations.html本页内容包含:枚举语法(Enumeration Syntax)匹配枚举值与Swith语句(Matchin... 阅读全文
posted @ 2015-01-18 21:35 回读(IOS) 阅读(1638) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/07_Closures.html本页包含内容:闭包表达式(Closure Expressions)尾随闭包(Trailing Closures)... 阅读全文
posted @ 2015-01-18 21:33 回读(IOS) 阅读(268) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter1/03_revision_history.html本页内容包括:XCode6.2 Beta3 Swift语法文档更新XCode6.2 Beta2 ... 阅读全文
posted @ 2015-01-18 21:28 回读(IOS) 阅读(469) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/chapter2/06_Functions.html本页包含内容:函数定义与调用(Defining and Calling Functions)函数参数与返回值(... 阅读全文
posted @ 2015-01-18 21:24 回读(IOS) 阅读(232) 评论(0) 推荐(0) 编辑