├── README.md ├── Using Swift with Cocoa and ObjectiveC └── chapter3 │ ├── DAG_2x.png │ └── bridgingheader_2x.png ├── change_cdn.py ├── chapter1 ├── 01_swift.html ├── 02_a_swift_tour.html └── chapter1.html ├── chapter2 ├── 01_The_Basics.html ├── 02_Basic_Operators.html ├── 03_Strings_and_Characters.html ├── 04_Collection_Types.html ├── 05_Control_Flow.html ├── 06_Functions.html ├── 07_Closures.html ├── 08_Enumerations.html ├── 09_Classes_and_Structures.html ├── 10_Properties.html ├── 11_Methods.html ├── 12_Subscripts.html ├── 13_Inheritance.html ├── 14_Initialization.html ├── 15_Deinitialization.html ├── 16_Automatic_Reference_Counting.html ├── 17_Optional_Chaining.html ├── 18_Type_Casting.html ├── 19_Nested_Types.html ├── 20_Extensions.html ├── 21_Protocols.html ├── 22_Generics.html ├── 23_Advanced_Operators.html └── chapter2.html ├── chapter3 ├── 01_About_the_Language_Reference.html ├── 02_Lexical_Structure.html ├── 03_Types.html ├── 04_Expressions.html ├── 05_Declarations.html ├── 06_Attributes.html ├── 07_Patterns.html ├── 08_Generic_Parameters_and_Arguments.html ├── 09_Summary_of_the_Grammar.html └── chapter3.html ├── gitbook ├── app.js ├── fonts │ ├── anonymouspro │ │ ├── 400.woff │ │ ├── 400i.woff │ │ ├── 700.woff │ │ └── 700i.woff │ ├── ebgaramond │ │ ├── 400.woff │ │ └── 400i.woff │ ├── fontawesome │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ └── fontawesome-webfont.woff │ ├── merriweather │ │ ├── 250.woff │ │ ├── 250i.woff │ │ ├── 400.woff │ │ ├── 400i.woff │ │ ├── 700.woff │ │ ├── 700i.woff │ │ ├── 900.woff │ │ └── 900i.woff │ └── opensans │ │ ├── 300.woff │ │ ├── 300i.woff │ │ ├── 400.woff │ │ ├── 400i.woff │ │ ├── 600.woff │ │ ├── 600i.woff │ │ ├── 700.woff │ │ └── 700i.woff ├── images │ └── favicon.ico ├── jsrepl │ ├── engines │ │ └── javascript-default.js │ ├── jsrepl.js │ ├── langs │ │ └── javascript │ │ │ └── jsrepl_js.js │ ├── sandbox.html │ └── sandbox.js ├── plugins │ ├── gitbook-plugin-mathjax │ │ └── plugin.js │ └── gitbook-plugin-mixpanel │ │ └── plugin.js ├── print.css └── style.css ├── index.html ├── manifest.appcache ├── search_index.json └── source ├── README.md ├── SUMMARY.md ├── chapter1 ├── 01_swift.md ├── 02_a_swift_tour.md └── chapter1.md ├── chapter2 ├── 01_The_Basics.md ├── 02_Basic_Operators.md ├── 03_Strings_and_Characters.md ├── 04_Collection_Types.md ├── 05_Control_Flow.md ├── 06_Functions.md ├── 07_Closures.md ├── 08_Enumerations.md ├── 09_Classes_and_Structures.md ├── 10_Properties.md ├── 11_Methods.md ├── 12_Subscripts.md ├── 13_Inheritance.md ├── 14_Initialization.md ├── 15_Deinitialization.md ├── 16_Automatic_Reference_Counting.md ├── 17_Optional_Chaining.md ├── 18_Type_Casting.md ├── 19_Nested_Types.md ├── 20_Extensions.md ├── 21_Protocols.md ├── 22_Generics.md ├── 23_Advanced_Operators.md └── chapter2.md └── chapter3 ├── 01_About_the_Language_Reference.md ├── 02_Lexical_Structure.md ├── 03_Types.md ├── 04_Expressions.md ├── 05_Declarations.md ├── 06_Attributes.md ├── 07_Patterns.md ├── 08_Generic_Parameters_and_Arguments.md ├── 09_Summary_of_the_Grammar.md └── chapter3.md /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/README.md -------------------------------------------------------------------------------- /Using Swift with Cocoa and ObjectiveC/chapter3/DAG_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/Using Swift with Cocoa and ObjectiveC/chapter3/DAG_2x.png -------------------------------------------------------------------------------- /Using Swift with Cocoa and ObjectiveC/chapter3/bridgingheader_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/Using Swift with Cocoa and ObjectiveC/chapter3/bridgingheader_2x.png -------------------------------------------------------------------------------- /change_cdn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/change_cdn.py -------------------------------------------------------------------------------- /chapter1/01_swift.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter1/01_swift.html -------------------------------------------------------------------------------- /chapter1/02_a_swift_tour.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter1/02_a_swift_tour.html -------------------------------------------------------------------------------- /chapter1/chapter1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter1/chapter1.html -------------------------------------------------------------------------------- /chapter2/01_The_Basics.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/01_The_Basics.html -------------------------------------------------------------------------------- /chapter2/02_Basic_Operators.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/02_Basic_Operators.html -------------------------------------------------------------------------------- /chapter2/03_Strings_and_Characters.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/03_Strings_and_Characters.html -------------------------------------------------------------------------------- /chapter2/04_Collection_Types.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/04_Collection_Types.html -------------------------------------------------------------------------------- /chapter2/05_Control_Flow.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/05_Control_Flow.html -------------------------------------------------------------------------------- /chapter2/06_Functions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/06_Functions.html -------------------------------------------------------------------------------- /chapter2/07_Closures.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/07_Closures.html -------------------------------------------------------------------------------- /chapter2/08_Enumerations.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/08_Enumerations.html -------------------------------------------------------------------------------- /chapter2/09_Classes_and_Structures.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/09_Classes_and_Structures.html -------------------------------------------------------------------------------- /chapter2/10_Properties.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/10_Properties.html -------------------------------------------------------------------------------- /chapter2/11_Methods.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/11_Methods.html -------------------------------------------------------------------------------- /chapter2/12_Subscripts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/12_Subscripts.html -------------------------------------------------------------------------------- /chapter2/13_Inheritance.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/13_Inheritance.html -------------------------------------------------------------------------------- /chapter2/14_Initialization.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/14_Initialization.html -------------------------------------------------------------------------------- /chapter2/15_Deinitialization.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/15_Deinitialization.html -------------------------------------------------------------------------------- /chapter2/16_Automatic_Reference_Counting.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/16_Automatic_Reference_Counting.html -------------------------------------------------------------------------------- /chapter2/17_Optional_Chaining.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/17_Optional_Chaining.html -------------------------------------------------------------------------------- /chapter2/18_Type_Casting.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/18_Type_Casting.html -------------------------------------------------------------------------------- /chapter2/19_Nested_Types.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/19_Nested_Types.html -------------------------------------------------------------------------------- /chapter2/20_Extensions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/20_Extensions.html -------------------------------------------------------------------------------- /chapter2/21_Protocols.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/21_Protocols.html -------------------------------------------------------------------------------- /chapter2/22_Generics.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/22_Generics.html -------------------------------------------------------------------------------- /chapter2/23_Advanced_Operators.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/23_Advanced_Operators.html -------------------------------------------------------------------------------- /chapter2/chapter2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter2/chapter2.html -------------------------------------------------------------------------------- /chapter3/01_About_the_Language_Reference.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter3/01_About_the_Language_Reference.html -------------------------------------------------------------------------------- /chapter3/02_Lexical_Structure.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter3/02_Lexical_Structure.html -------------------------------------------------------------------------------- /chapter3/03_Types.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter3/03_Types.html -------------------------------------------------------------------------------- /chapter3/04_Expressions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter3/04_Expressions.html -------------------------------------------------------------------------------- /chapter3/05_Declarations.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter3/05_Declarations.html -------------------------------------------------------------------------------- /chapter3/06_Attributes.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter3/06_Attributes.html -------------------------------------------------------------------------------- /chapter3/07_Patterns.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter3/07_Patterns.html -------------------------------------------------------------------------------- /chapter3/08_Generic_Parameters_and_Arguments.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter3/08_Generic_Parameters_and_Arguments.html -------------------------------------------------------------------------------- /chapter3/09_Summary_of_the_Grammar.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter3/09_Summary_of_the_Grammar.html -------------------------------------------------------------------------------- /chapter3/chapter3.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/chapter3/chapter3.html -------------------------------------------------------------------------------- /gitbook/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/app.js -------------------------------------------------------------------------------- /gitbook/fonts/anonymouspro/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/anonymouspro/400.woff -------------------------------------------------------------------------------- /gitbook/fonts/anonymouspro/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/anonymouspro/400i.woff -------------------------------------------------------------------------------- /gitbook/fonts/anonymouspro/700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/anonymouspro/700.woff -------------------------------------------------------------------------------- /gitbook/fonts/anonymouspro/700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/anonymouspro/700i.woff -------------------------------------------------------------------------------- /gitbook/fonts/ebgaramond/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/ebgaramond/400.woff -------------------------------------------------------------------------------- /gitbook/fonts/ebgaramond/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/ebgaramond/400i.woff -------------------------------------------------------------------------------- /gitbook/fonts/fontawesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/fontawesome/FontAwesome.otf -------------------------------------------------------------------------------- /gitbook/fonts/fontawesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/fontawesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /gitbook/fonts/fontawesome/fontawesome-webfont.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/fontawesome/fontawesome-webfont.svg -------------------------------------------------------------------------------- /gitbook/fonts/fontawesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/fontawesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /gitbook/fonts/fontawesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/fontawesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /gitbook/fonts/merriweather/250.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/merriweather/250.woff -------------------------------------------------------------------------------- /gitbook/fonts/merriweather/250i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/merriweather/250i.woff -------------------------------------------------------------------------------- /gitbook/fonts/merriweather/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/merriweather/400.woff -------------------------------------------------------------------------------- /gitbook/fonts/merriweather/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/merriweather/400i.woff -------------------------------------------------------------------------------- /gitbook/fonts/merriweather/700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/merriweather/700.woff -------------------------------------------------------------------------------- /gitbook/fonts/merriweather/700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/merriweather/700i.woff -------------------------------------------------------------------------------- /gitbook/fonts/merriweather/900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/merriweather/900.woff -------------------------------------------------------------------------------- /gitbook/fonts/merriweather/900i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/merriweather/900i.woff -------------------------------------------------------------------------------- /gitbook/fonts/opensans/300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/opensans/300.woff -------------------------------------------------------------------------------- /gitbook/fonts/opensans/300i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/opensans/300i.woff -------------------------------------------------------------------------------- /gitbook/fonts/opensans/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/opensans/400.woff -------------------------------------------------------------------------------- /gitbook/fonts/opensans/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/opensans/400i.woff -------------------------------------------------------------------------------- /gitbook/fonts/opensans/600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/opensans/600.woff -------------------------------------------------------------------------------- /gitbook/fonts/opensans/600i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/opensans/600i.woff -------------------------------------------------------------------------------- /gitbook/fonts/opensans/700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/opensans/700.woff -------------------------------------------------------------------------------- /gitbook/fonts/opensans/700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/fonts/opensans/700i.woff -------------------------------------------------------------------------------- /gitbook/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/images/favicon.ico -------------------------------------------------------------------------------- /gitbook/jsrepl/engines/javascript-default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/jsrepl/engines/javascript-default.js -------------------------------------------------------------------------------- /gitbook/jsrepl/jsrepl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/jsrepl/jsrepl.js -------------------------------------------------------------------------------- /gitbook/jsrepl/langs/javascript/jsrepl_js.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/jsrepl/langs/javascript/jsrepl_js.js -------------------------------------------------------------------------------- /gitbook/jsrepl/sandbox.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/jsrepl/sandbox.html -------------------------------------------------------------------------------- /gitbook/jsrepl/sandbox.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/jsrepl/sandbox.js -------------------------------------------------------------------------------- /gitbook/plugins/gitbook-plugin-mathjax/plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/plugins/gitbook-plugin-mathjax/plugin.js -------------------------------------------------------------------------------- /gitbook/plugins/gitbook-plugin-mixpanel/plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/plugins/gitbook-plugin-mixpanel/plugin.js -------------------------------------------------------------------------------- /gitbook/print.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/print.css -------------------------------------------------------------------------------- /gitbook/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/gitbook/style.css -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/index.html -------------------------------------------------------------------------------- /manifest.appcache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/manifest.appcache -------------------------------------------------------------------------------- /search_index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/search_index.json -------------------------------------------------------------------------------- /source/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/README.md -------------------------------------------------------------------------------- /source/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/SUMMARY.md -------------------------------------------------------------------------------- /source/chapter1/01_swift.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/chapter1/01_swift.md -------------------------------------------------------------------------------- /source/chapter1/02_a_swift_tour.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/chapter1/02_a_swift_tour.md -------------------------------------------------------------------------------- /source/chapter1/chapter1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/chapter1/chapter1.md -------------------------------------------------------------------------------- /source/chapter2/01_The_Basics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/chapter2/01_The_Basics.md -------------------------------------------------------------------------------- /source/chapter2/02_Basic_Operators.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/03_Strings_and_Characters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/chapter2/03_Strings_and_Characters.md -------------------------------------------------------------------------------- /source/chapter2/04_Collection_Types.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/05_Control_Flow.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/06_Functions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/chapter2/06_Functions.md -------------------------------------------------------------------------------- /source/chapter2/07_Closures.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/chapter2/07_Closures.md -------------------------------------------------------------------------------- /source/chapter2/08_Enumerations.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/09_Classes_and_Structures.md: -------------------------------------------------------------------------------- 1 | ### 类和结构体 -------------------------------------------------------------------------------- /source/chapter2/10_Properties.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/11_Methods.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/12_Subscripts.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/13_Inheritance.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/14_Initialization.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/15_Deinitialization.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/16_Automatic_Reference_Counting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/chapter2/16_Automatic_Reference_Counting.md -------------------------------------------------------------------------------- /source/chapter2/17_Optional_Chaining.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/18_Type_Casting.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/19_Nested_Types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/chapter2/19_Nested_Types.md -------------------------------------------------------------------------------- /source/chapter2/20_Extensions.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/21_Protocols.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/22_Generics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/chapter2/22_Generics.md -------------------------------------------------------------------------------- /source/chapter2/23_Advanced_Operators.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter2/chapter2.md: -------------------------------------------------------------------------------- 1 | # Swift 教程 2 | 3 | 本章介绍了 Swift 的各种特性及其使用方法,是全书的核心部分。 4 | -------------------------------------------------------------------------------- /source/chapter3/01_About_the_Language_Reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CocoaChina-editors/the-swift-programming-language-in-chinese/HEAD/source/chapter3/01_About_the_Language_Reference.md -------------------------------------------------------------------------------- /source/chapter3/02_Lexical_Structure.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter3/03_Types.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter3/04_Expressions.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter3/05_Declarations.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter3/06_Attributes.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter3/07_Patterns.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter3/08_Generic_Parameters_and_Arguments.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter3/09_Summary_of_the_Grammar.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/chapter3/chapter3.md: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------