@@ -3845,7 +3845,7 @@ OK,我用中括号定义表格
3845
3845
770
3846
3846
00:39:13,020 --> 00:39:18,623
3847
3847
in this table, I had, like pi and double dot pi. And then,
3848
- 在表格里,我定义 "pi " : Double.pi
3848
+ 在表格里,我定义 "π " : Double.pi
3849
3849
3850
3850
771
3851
3851
00:39:18,692 --> 00:39:22,060
@@ -3929,8 +3929,8 @@ I'm gonna create a private var.
3929
3929
3930
3930
787
3931
3931
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
3934
3934
3935
3935
788
3936
3936
00:40:05,939 --> 00:40:08,506
@@ -4080,7 +4080,7 @@ for operations sub-symbol? This operation sub-symbol,
4080
4080
817
4081
4081
00:41:40,334 --> 00:41:44,002
4082
4082
that's how you look up a symbol in a dictionary, right?
4083
- 意思是用 symbol 来查询字典
4083
+ 意思是在字典中查找 symbol
4084
4084
4085
4085
818
4086
4086
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,
4135
4135
828
4136
4136
00:42:11,232 --> 00:42:13,865
4137
4137
now I can set my accumulator equal to that constant,
4138
- 就让 accumulator = constant
4138
+ 就更新 accumulator = constant
4139
4139
4140
4140
829
4141
4141
00:42:13,934 --> 00:42:17,135
@@ -4250,7 +4250,7 @@ if we wanna have a dictionary that has mixed things in it,
4250
4250
851
4251
4251
00:43:28,742 --> 00:43:31,577
4252
4252
we need to create a type here that represents those
4253
- 那我们就需要一个新的类型代表他们
4253
+ 那我们就需要一个新的类型代表它们
4254
4254
4255
4255
852
4256
4256
00:43:31,645 --> 00:43:34,112
@@ -4305,7 +4305,7 @@ or a class, it's gonna be an enum. Does everyone
4305
4305
862
4306
4306
00:44:02,009 --> 00:44:04,943
4307
4307
know what an enum is in other classes? It's basically a data
4308
- 有谁从其它课程听说过枚举的吗 ?
4308
+ 有谁从其他课程听说过枚举的吗 ?
4309
4309
4310
4310
863
4311
4311
00:44:05,012 --> 00:44:07,646
@@ -4330,12 +4330,12 @@ Swift 也是一样的。我把它叫做 Operation
4330
4330
867
4331
4331
00:44:15,722 --> 00:44:18,456
4332
4332
and it's gonna have case constant and
4333
- 它有 case constant 和
4333
+ 它的情况有 case constant(常数) 和
4334
4334
4335
4335
868
4336
4336
00:44:18,525 --> 00:44:22,994
4337
4337
case unaryOperation. So those are the two kinds of things.
4338
- case unaryOperation,这就是两种情况
4338
+ case unaryOperation(一元运算)两种
4339
4339
4340
4340
869
4341
4341
00:44:23,063 --> 00:44:26,798
@@ -4355,7 +4355,7 @@ of these, to say Operation.constant, because
4355
4355
872
4356
4356
00:44:34,841 --> 00:44:39,044
4357
4357
this is a constant. We'll just comment that out for a second.
4358
- 因为他们是常数 。暂时先注释这部分
4358
+ 因为它们是常数 。暂时先注释这部分
4359
4359
4360
4360
873
4361
4361
00:44:39,112 --> 00:44:42,147
@@ -4585,7 +4585,7 @@ and like get this associated value? Well, how would you
4585
4585
918
4586
4586
00:47:09,496 --> 00:47:11,796
4587
4587
look at the values of an enum in another language?
4588
- 你在其它语言中是如何判断枚举类型的值的 ?
4588
+ 你在其他语言中是如何判断枚举类型的值的 ?
4589
4589
4590
4590
919
4591
4591
00:47:11,865 --> 00:47:14,265
@@ -4995,7 +4995,7 @@ only, well, it's basically gonna show you the result or
4995
4995
1000
4996
4996
00:51:19,913 --> 00:51:22,013
4997
4997
the value of any var that it finds.
4998
- 和其它所有变量的值
4998
+ 和其他所有变量的值
4999
4999
5000
5000
1001
5001
5001
00:51:22,082 --> 00:51:24,916
@@ -5140,7 +5140,7 @@ Absolutely, you can use a function as a type anywhere
5140
5140
1029
5141
5141
00:52:56,409 --> 00:52:59,344
5142
5142
you can use any other type. Argument to a method,
5143
- 在你任何其它使用类型的地方用
5143
+ 在你任何其他使用类型的地方用
5144
5144
5145
5145
1030
5146
5146
00:52:59,413 --> 00:53:03,215
@@ -5305,7 +5305,7 @@ this unary operation. What are we gonna do? Well we just want
5305
5305
1062
5306
5306
00:54:45,719 --> 00:54:49,954
5307
5307
to call this thing with the accumulator. Okay?
5308
- 我们调用 function( acuumulator !)
5308
+ 我们调用 function( accumulator !)
5309
5309
5310
5310
1063
5311
5311
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
5315
5315
1064
5316
5316
00:54:52,726 --> 00:54:55,093
5317
5317
to equal, calling that function with the accumulator.
5318
- acuumulator = function( accumulator!)
5318
+ accumulator = function( accumulator!)
5319
5319
5320
5320
1065
5321
5321
00:54:55,162 --> 00:54:57,963
@@ -5360,12 +5360,12 @@ accumulator 是否为空
5360
5360
1073
5361
5361
00:55:21,288 --> 00:55:23,888
5362
5362
accumulator is an optional, so it can be equal to nil or
5363
- 既然 acuumulator 是可选的,那就可能是 nil
5363
+ 既然 accumulator 是可选的,那就可能是 nil
5364
5364
5365
5365
1074
5366
5366
00:55:23,957 --> 00:55:26,325
5367
5367
it's equal to something else, and it has an associated value
5368
- 也有可能是其它的关联值
5368
+ 也有可能是其他的关联值
5369
5369
5370
5370
1075
5371
5371
00:55:26,393 --> 00:55:30,929
@@ -6060,12 +6060,12 @@ if we're not in the middle of PendingBinaryOperation,
6060
6060
1213
6061
6061
01:03:11,124 --> 01:03:14,893
6062
6062
this is not set. So it's an optional. All right, so
6063
- pbo 就是未赋值的。 所以它是可选的
6063
+ pbo 就是未赋值的, 所以它是可选的
6064
6064
6065
6065
1214
6066
6066
01:03:14,962 --> 01:03:17,128
6067
6067
when you've pressed the times,
6068
- 当你按下乘号(和其它二元运算 )的时候
6068
+ 当你按下乘号(和其他二元运算 )的时候
6069
6069
6070
6070
1215
6071
6071
01:03:17,197 --> 01:03:21,065
@@ -6365,7 +6365,7 @@ It's the third time, mutating, all right, excellent,
6365
6365
1274
6366
6366
01:06:24,785 --> 01:06:28,153
6367
6367
I love it when people catch on real quick. So, yeah, that
6368
- 我就喜欢这种教一遍就会的
6368
+ 我就喜欢这种一点即通的学生
6369
6369
6370
6370
1275
6371
6371
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
6455
6455
1292
6456
6456
01:07:17,070 --> 01:07:22,674
6457
6457
now when you change this, it's changing it everywhere. Okay,
6458
- 现在你改这一个地方,其它的都会跟着改
6458
+ 现在你改这一个地方,其他的都会跟着改
6459
6459
6460
6460
1293
6461
6461
01:07:22,742 --> 01:07:25,077
0 commit comments