实例介绍
Beginning programming with Swift 4. This is a book for complete beginners to Apple’s brand new programming language — Swift 4.
【实例截图】
【核心代码】
Swift_4_Apprentice_v3.0_Third_Edition
├── __MACOSX
│ └── Swift_4_Apprentice_v3.0_Third_Edition
│ ├── 04-advanced-control-flow
│ ├── 06-optionals
│ ├── 14-advanced-classes
│ ├── 17-generics
│ ├── 23-async-closures-and-memory-management
│ └── 25-protocol-oriented-programming
└── Swift_4_Apprentice_v3.0_Third_Edition
├── 01-expressions-variables-constants
│ ├── challenge
│ │ ├── 01-expressions-variables-and-constants-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 01-expressions-variables-and-constants-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 01-expressions-variables-and-constants.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 02-types-and-operations
│ ├── challenge
│ │ ├── 02-types-and-operations-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 02-types-and-operations-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 02-types-and-operations.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 03-basic-control-flow
│ ├── challenge
│ │ ├── 03-basic-control-flow-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 03-basic-control-flow-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 03-basic-control-flow.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 04-advanced-control-flow
│ ├── challenge
│ │ ├── 04-advanced-control-flow-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 04-advanced-control-flow-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 04-advanced-control-flow.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ ├── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── timeline.xctimeline
├── 05-functions
│ ├── challenge
│ │ ├── 05-functions-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 05-functions-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 05-functions.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 06-optionals
│ ├── challenge
│ │ ├── 06-optionals-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 06-optionals-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 06-optionals.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 07-arrays-dictionaries-sets
│ ├── challenge
│ │ ├── arrays-dictionaries-sets-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── arrays-dictionaries-sets-mini-exercise.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ ├── arrays.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ ├── dictionaries.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── sets.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 08-collection-iteration-with-closures
│ ├── challenge
│ │ ├── 08-collection-iteration-with-closures-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 08-collection-iteration-with-closures-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 08-collection-iteration-with-closures.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 09-strings
│ ├── challenge
│ │ └── 09-strings-challenges.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 09-strings.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 10-structures
│ ├── challenge
│ │ ├── 10-structures-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 10-structures-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 10-structures.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 11-properties
│ ├── challenge
│ │ ├── 11-properties-challenge1.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 11-properties-challenge2.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 11-properties-mini-exercise-circle.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 11-properties-mini-exercise-lightbulb.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 11-properties-mini-exercise-tv.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 11-properties.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 12-methods
│ ├── challenge
│ │ ├── 12-methods-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 12-methods-mini-exercise-months-until-winter-break.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 12-methods-mini-exercise-nth-triangle.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 12-methods.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 13-classes
│ ├── challenge
│ │ ├── 13-classes-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 13-classes-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 13-classes.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 14-advanced-classes
│ ├── challenge
│ │ ├── 14-advanced-classes-challeges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 14-advanced-classes-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 14-advanced-classes.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 15-enumerations
│ ├── challenge
│ │ ├── 15-enumerations-challenge-1.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 15-enumerations-challenge-2.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 15-enumerations-challenge-3.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 15-enumerations-mini-exercise-coin-purse.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 15-enumerations-mini-exercise-e-math-namespace.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 15-enumerations-mini-exercise-light-switch.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 15-enumerations-mini-exercise-months-until-winter-break-computed-property.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 15-enumerations-mini-exercise-semester-computed-property.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 15-enumerations.playground
│ ├── Contents.swift
│ └── contents.xcplayground
├── 16-protocols
│ ├── challenge
│ │ ├── 17-protocols-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 17-protocolsmini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 16-protocols.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 17-generics
│ ├── challenges
│ │ ├── 18-generics-challenge.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 18-generics-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 18-generics.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 18-access-control-and-code-organization
│ ├── challenge
│ │ ├── 18-access-control-code-organization-challenge.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ ├── playground.xcworkspace
│ │ │ │ └── contents.xcworkspacedata
│ │ │ └── Sources
│ │ │ └── Characters.swift
│ │ └── 18-access-control-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ ├── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── Sources
│ │ └── Person.swift
│ └── final
│ └── 18-access-control-code-organization.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ ├── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── Sources
│ ├── Account.swift
│ └── Checking.swift
├── 19-custom-operators-and-subscripts
│ ├── challenge
│ │ ├── 19-custom operators-subscripts-and-keypaths-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ ├── playground.xcworkspace
│ │ │ │ └── contents.xcworkspacedata
│ │ │ └── timeline.xctimeline
│ │ └── 19-custom-operators-subscripts-and-keypaths-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ ├── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── timeline.xctimeline
│ └── final
│ └── 19-custom-operators-subscripts-and-keypaths.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 20-pattern-matching
│ ├── challenge
│ │ ├── 20-pattern-matching-challenge-1.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 20-pattern-matching-challenge-2.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 20-pattern-matching-challenge-3.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 20-pattern-matching-challenge-4.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── 20-pattern-matching-mini-exercise-names.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 20-pattern-matching-mini-exercise-population.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ ├── 20-pattern-matching-a.playground
│ │ ├── Contents.swift
│ │ └── contents.xcplayground
│ └── 20-pattern-matching-b.playground
│ ├── Contents.swift
│ └── contents.xcplayground
├── 21-error-handling
│ ├── challenge
│ │ └── 22-error-handling-challenges.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ ├── 21-error-handling-bakery.playground
│ │ ├── Contents.swift
│ │ └── contents.xcplayground
│ ├── 21-error-handling-optional.playground
│ │ ├── Contents.swift
│ │ └── contents.xcplayground
│ └── 21-error-handling-pugbot.playground
│ ├── Contents.swift
│ └── contents.xcplayground
├── 22-codable-serialization
│ ├── challenge
│ │ └── 22-codable-serialization-challeges.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 22-codable-serialization.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 23-async-closures-and-memory-management
│ ├── challenge
│ │ └── 23-asynchronous-closures-and-memory-management-challenges.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 23-asynchronous-closures-and-memory-management.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ ├── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── timeline.xctimeline
├── 24-value-types-and-reference-types
│ ├── challenge
│ │ └── 24-value-types-and-reference-types-challenges.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ └── playground.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── final
│ └── 24-value-types-and-reference-types.playground
│ ├── Contents.swift
│ ├── contents.xcplayground
│ └── playground.xcworkspace
│ └── contents.xcworkspacedata
├── 25-protocol-oriented-programming
│ ├── challenge
│ │ ├── 25-protocol-oriented-programming-challenges.playground
│ │ │ ├── Contents.swift
│ │ │ ├── contents.xcplayground
│ │ │ └── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── 25-protocol-oriented-programming-mini-exercises.playground
│ │ ├── Contents.swift
│ │ ├── contents.xcplayground
│ │ ├── playground.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── timeline.xctimeline
│ └── final
│ └── 25-protocol-oriented-programming.playground
│ ├── Contents.swift
│ └── contents.xcplayground
├── Swift_Apprentice_v3.0.epub
└── Swift_Apprentice_v3.0.pdf
258 directories, 271 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论