Skip to content

Commit 1e3165b

Browse files
committed
更改了第四集中的一些笔误
2 parents 312cd44 + 2697372 commit 1e3165b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

subtitles/4. More Swift.srt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7349,7 +7349,7 @@ which it did down here. It made this code really
73497349
1522
73507350
01:19:46,281 --> 01:19:49,716
73517351
beautiful and readable down here. But, it actually added
7352-
非常优美也非常具有可读性,但是,它实际上
7352+
变得非常优美也非常具有可读性,但是,它实际上
73537353

73547354
1523
73557355
01:19:49,785 --> 01:19:53,754
@@ -7369,12 +7369,12 @@ face card, if you use a method that takes a closure. Now,
73697369
1526
73707370
01:20:00,663 --> 01:20:03,196
73717371
the method we're gonna use, it's kinda like map,
7372-
那么我们用的函数,有点像 map
7372+
那么我们要用的函数,有点像 map
73737373

73747374
1527
73757375
01:20:03,265 --> 01:20:07,701
73767376
its on collection, it's called filter. So what filter
7377-
这是在 collection 中的函数,它叫做 filter
7377+
它是在 collection 中的函数,它叫做 filter
73787378

73797379
1528
73807380
01:20:07,769 --> 01:20:10,437
@@ -7424,7 +7424,7 @@ return true from the function. See what I'm saying? So
74247424
1537
74257425
01:20:35,264 --> 01:20:37,564
74267426
that's why it's called filter. Filters the collection,
7427-
那就是它叫作 filter 的原因,过滤这个集合
7427+
这就是它叫作 filter 的原因,过滤这个集合
74287428

74297429
1538
74307430
01:20:37,633 --> 01:20:40,100
@@ -7579,7 +7579,7 @@ this is an array of all the indices. Now, if this only has
75797579
1568
75807580
01:22:23,506 --> 01:22:26,639
75817581
one thing in it then we have one face up card.
7582-
那么如果它里面有一个元素,我们就以一个朝上的牌
7582+
那么如果它里面有一个元素,我们就有一个朝上的牌
75837583

75847584
1569
75857585
01:22:26,708 --> 01:22:30,377
@@ -7664,7 +7664,7 @@ a protocol down here. The protocol we're gonna extend is
76647664
1585
76657665
01:23:20,896 --> 01:23:25,832
76667666
collection. So we're gonna add a var. Could be a function,
7667-
collection 那么我们将添加一个变量,可能是函数
7667+
collection 那么我们将添加一个变量,可以是函数
76687668

76697669
1586
76707670
01:23:25,901 --> 01:23:27,734
@@ -7879,7 +7879,7 @@ characters. And a string is a collection of characters. But
78797879
1628
78807880
01:26:13,368 --> 01:26:17,537
78817881
if I click on it, it's gonna say, it's a String.Element.
7882-
但如果我点一下它,它会说它是 String.element
7882+
但如果我点一下它,它会说它是 String.Element
78837883

78847884
1629
78857885
01:26:17,606 --> 01:26:21,408
@@ -7889,7 +7889,7 @@ So just like Array.Index is type alias to be int,
78897889
1630
78907890
01:26:21,476 --> 01:26:25,212
78917891
String.Element is type alias to be character.
7892-
String.Element 也是 Character 的类型别名
7892+
String.Element Character 的类型别名
78937893

78947894
1631
78957895
01:26:25,280 --> 01:26:27,814

0 commit comments

Comments
 (0)