对swift感兴趣的同学,欢迎加我的个人微信:liuyubobobo(头像和github一致),一起加入swift微信群讨论:)请注明:swift交流
##Play with Swift 3 - 玩儿转 Swift 3 (Swift2课程升级代码)
Welcome! This repo is based on the MOOC course <Play with Swift 2> on imooc.com, one of the toppest MOOC website in China. The course is about the basics for Swift2. But in this repo, I updated all the demo code in this course for Swift3! If you find any bug, or have any suggestion, even brilliant ideas which can make this course better, please contact me:)
Personal Website: liuyubobobo.com
Email: liuyubobobo@gmail.com
Weibo: 刘宇波bobo http://weibo.com/liuyubobobo
Zhihu: 刘宇波 http://www.zhihu.com/people/liuyubobobo
大家好, 欢迎大家下载《玩儿转Swift2》课程的源代码。在这个repo中,我将原来课程上的所有示例代码,针对Swift3进行了升级。大家可以下载、运行、测试、修改。如果你发现了任何bug,或者对课程中的任何内容有意见或建议,欢迎和我联系:)
个人网站:liuyubobobo.com
微博: 刘宇波bobo http://weibo.com/liuyubobobo
知乎: 刘宇波 http://www.zhihu.com/people/liuyubobobo
##Catalogue - 课程目录
中文版课程目录在英文版目录后,直接点击这里查看中文目录
-
Chapter One - Introduction CODE
- 1-1 Let's play with Swift 2 Course Video
- 1-2 Swift and iOS Development Course Video
- 1-3 Swift vs Objective-C Course Video
- 1-4 Preparation Course Video
- 1-5 Explore Playground Course Video
-
Chapter Two:Basic Types CODE
- 2-1 Declare Constants and Variables Course Video
- 2-2 Integer Course Video
- 2-3 Double, Float and Type Conversion Course Video
- 2-4 Boolean and
if
Statement Course Video - 2-5 Tuples Course Video
- 2-6 Variable Names, Function
print
and Comments Course Video
-
Chapter Three: Operator CODE
- 3-1 Basic Operators Course Video
- 3-2 Comparison Operator, Logic Operator and
if
-Statement again Course Video - 3-3 Ternary Condition Operator and Initialization Course Video
- 3-4 Range Operator and
for-in
Course Video
-
Chapter Four: Control Flow CODE
- 4-1 Loop -
for-in
andfor
Course Video - 4-2 Loop -
while
andrepeat
Course Video - 4-3 Conditional Statements -
if
,else
andswitch
Course Video - 4-4 Advanced
switch
Course Video - 4-5 Control Transfer Course Video
- 4-6
where
and Pattern Matching Course Video - 4-7
guard
and Code Style of Swift Course Video
- 4-1 Loop -
-
Chapter Five:String CODE
- 5-1 String Basics Course Video
- 5-2
Character
and Unicode Course Video - 5-3
String.Index
andRange
Course Video - 5-4
as
andNSString
Course Video - 5-5 Refer to the Documents Course Video
###第一季
-
第一章:玩儿转 Swift 2 源码
-
第二章:基本类型 源码
-
第三章 运算符 源码
-
第四章:逻辑控制 源码
-
第五章:字符串 源码
感谢每一名学习这个课程的同学。感谢每一名在慕课网留言的同学。批评也好,鼓励也罢,都是对我的肯定:)
特别感谢以下github用户,帮助完善了这个课程的代码:
最后,感谢这个时代。