Skip to content

Commit 4fec150

Browse files
committed
2_800-1300 初校
1 parent df216c5 commit 4fec150

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

subtitles/2. MVC; iOS, Xcode and Swift Demonstration.srt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3845,7 +3845,7 @@ OK,我用中括号定义表格
38453845
770
38463846
00:39:13,020 --> 00:39:18,623
38473847
in this table, I had, like pi and double dot pi. And then,
3848-
在表格里,我定义 "pi" : Double.pi
3848+
在表格里,我定义 "π" : Double.pi
38493849

38503850
771
38513851
00:39:18,692 --> 00:39:22,060
@@ -3929,8 +3929,8 @@ I'm gonna create a private var.
39293929

39303930
787
39313931
00:40:03,470 --> 00:40:05,870
3932-
I'm gonna call it, I could call it Constants, but
3933-
名字可以叫 Constants
3932+
I'm gonna call it, I could call it constants, but
3933+
名字可以叫 constants
39343934

39353935
788
39363936
00:40:05,939 --> 00:40:08,506
@@ -4080,7 +4080,7 @@ for operations sub-symbol? This operation sub-symbol,
40804080
817
40814081
00:41:40,334 --> 00:41:44,002
40824082
that's how you look up a symbol in a dictionary, right?
4083-
意思是用 symbol 来查询字典
4083+
意思是在字典中查找 symbol
40844084

40854085
818
40864086
00:41:44,071 --> 00:41:46,437
@@ -4135,7 +4135,7 @@ why I have to do if let there, and if the constant is there,
41354135
828
41364136
00:42:11,232 --> 00:42:13,865
41374137
now I can set my accumulator equal to that constant,
4138-
就让 accumulator = constant
4138+
就更新 accumulator = constant
41394139

41404140
829
41414141
00:42:13,934 --> 00:42:17,135
@@ -4250,7 +4250,7 @@ if we wanna have a dictionary that has mixed things in it,
42504250
851
42514251
00:43:28,742 --> 00:43:31,577
42524252
we need to create a type here that represents those
4253-
那我们就需要一个新的类型代表他们
4253+
那我们就需要一个新的类型代表它们
42544254

42554255
852
42564256
00:43:31,645 --> 00:43:34,112
@@ -4305,7 +4305,7 @@ or a class, it's gonna be an enum. Does everyone
43054305
862
43064306
00:44:02,009 --> 00:44:04,943
43074307
know what an enum is in other classes? It's basically a data
4308-
有谁从其它课程听说过枚举的吗
4308+
有谁从其他课程听说过枚举的吗
43094309

43104310
863
43114311
00:44:05,012 --> 00:44:07,646
@@ -4330,12 +4330,12 @@ Swift 也是一样的。我把它叫做 Operation
43304330
867
43314331
00:44:15,722 --> 00:44:18,456
43324332
and it's gonna have case constant and
4333-
它有 case constant
4333+
它的情况有 case constant(常数)
43344334

43354335
868
43364336
00:44:18,525 --> 00:44:22,994
43374337
case unaryOperation. So those are the two kinds of things.
4338-
case unaryOperation,这就是两种情况
4338+
case unaryOperation(一元运算)两种
43394339

43404340
869
43414341
00:44:23,063 --> 00:44:26,798
@@ -4355,7 +4355,7 @@ of these, to say Operation.constant, because
43554355
872
43564356
00:44:34,841 --> 00:44:39,044
43574357
this is a constant. We'll just comment that out for a second.
4358-
因为他们是常数。暂时先注释这部分
4358+
因为它们是常数。暂时先注释这部分
43594359

43604360
873
43614361
00:44:39,112 --> 00:44:42,147
@@ -4585,7 +4585,7 @@ and like get this associated value? Well, how would you
45854585
918
45864586
00:47:09,496 --> 00:47:11,796
45874587
look at the values of an enum in another language?
4588-
你在其它语言中是如何判断枚举类型的值的
4588+
你在其他语言中是如何判断枚举类型的值的
45894589

45904590
919
45914591
00:47:11,865 --> 00:47:14,265
@@ -4995,7 +4995,7 @@ only, well, it's basically gonna show you the result or
49954995
1000
49964996
00:51:19,913 --> 00:51:22,013
49974997
the value of any var that it finds.
4998-
和其它所有变量的值
4998+
和其他所有变量的值
49994999

50005000
1001
50015001
00:51:22,082 --> 00:51:24,916
@@ -5140,7 +5140,7 @@ Absolutely, you can use a function as a type anywhere
51405140
1029
51415141
00:52:56,409 --> 00:52:59,344
51425142
you can use any other type. Argument to a method,
5143-
在你任何其它使用类型的地方用
5143+
在你任何其他使用类型的地方用
51445144

51455145
1030
51465146
00:52:59,413 --> 00:53:03,215
@@ -5305,7 +5305,7 @@ this unary operation. What are we gonna do? Well we just want
53055305
1062
53065306
00:54:45,719 --> 00:54:49,954
53075307
to call this thing with the accumulator. Okay?
5308-
我们调用 function(acuumulator!)
5308+
我们调用 function(accumulator!)
53095309

53105310
1063
53115311
00:54:50,023 --> 00:54:52,657
@@ -5315,7 +5315,7 @@ But of course we'd better, I'm sorry, we want our accumulator
53155315
1064
53165316
00:54:52,726 --> 00:54:55,093
53175317
to equal, calling that function with the accumulator.
5318-
acuumulator = function(accumulator!)
5318+
accumulator = function(accumulator!)
53195319

53205320
1065
53215321
00:54:55,162 --> 00:54:57,963
@@ -5360,12 +5360,12 @@ accumulator 是否为空
53605360
1073
53615361
00:55:21,288 --> 00:55:23,888
53625362
accumulator is an optional, so it can be equal to nil or
5363-
既然 acuumulator 是可选的,那就可能是 nil
5363+
既然 accumulator 是可选的,那就可能是 nil
53645364

53655365
1074
53665366
00:55:23,957 --> 00:55:26,325
53675367
it's equal to something else, and it has an associated value
5368-
也有可能是其它的关联值
5368+
也有可能是其他的关联值
53695369

53705370
1075
53715371
00:55:26,393 --> 00:55:30,929
@@ -6060,12 +6060,12 @@ if we're not in the middle of PendingBinaryOperation,
60606060
1213
60616061
01:03:11,124 --> 01:03:14,893
60626062
this is not set. So it's an optional. All right, so
6063-
pbo 就是未赋值的所以它是可选的
6063+
pbo 就是未赋值的所以它是可选的
60646064

60656065
1214
60666066
01:03:14,962 --> 01:03:17,128
60676067
when you've pressed the times,
6068-
当你按下乘号(和其它二元运算)的时候
6068+
当你按下乘号(和其他二元运算)的时候
60696069

60706070
1215
60716071
01:03:17,197 --> 01:03:21,065
@@ -6365,7 +6365,7 @@ It's the third time, mutating, all right, excellent,
63656365
1274
63666366
01:06:24,785 --> 01:06:28,153
63676367
I love it when people catch on real quick. So, yeah, that
6368-
我就喜欢这种教一遍就会的
6368+
我就喜欢这种一点即通的学生
63696369

63706370
1275
63716371
01:06:28,222 --> 01:06:30,288
@@ -6455,7 +6455,7 @@ you get a menu and you can say, Edit All in Scope. And
64556455
1292
64566456
01:07:17,070 --> 01:07:22,674
64576457
now when you change this, it's changing it everywhere. Okay,
6458-
现在你改这一个地方,其它的都会跟着改
6458+
现在你改这一个地方,其他的都会跟着改
64596459

64606460
1293
64616461
01:07:22,742 --> 01:07:25,077

0 commit comments

Comments
 (0)