Skip to content

Commit c1029ba

Browse files
authored
Update 7. Multiple MVCs, Timer, and Animation.srt
1 parent 1b1ede2 commit c1029ba

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

subtitles/7. Multiple MVCs, Timer, and Animation.srt

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,60 +41,73 @@ an MVC into that app. Then I'll come back to the slides,
4141
9
4242
00:00:30,998 --> 00:00:33,865
4343
and talk I'll about timer and choose classes, some of you
44-
44+
(这里疑似all about)我会讲授有关计时器和选择类的相关内容,
4545

4646
10
4747
00:00:33,934 --> 00:00:37,169
4848
used in the extra credit of the homework assignments. And
49+
这部分内容你们可能会在作业的选做部分需要用到。
4950

5051
11
5152
00:00:37,237 --> 00:00:39,004
5253
then I'm gonna dive into the next topic and try and
54+
然后的时间我会尽可能深入讲解下一个主题,也就是动画部分,
5355

5456
12
5557
00:00:39,073 --> 00:00:41,373
5658
get as far as I can which is animation.
59+
能讲多少讲多少。
5760

5861
13
5962
00:00:41,442 --> 00:00:43,275
6063
Which will be our topic on Wednesday and
64+
这也将是我们在周三的课程上的主要内容,
6165

6266
14
6367
00:00:43,343 --> 00:00:45,376
6468
I'll get to much more detail, do a big demo.
69+
并且我会更深入地讲解更多细节性内容,做一个更大的示范程序。
6570

6671
15
6772
00:00:45,445 --> 00:00:47,512
6873
But I wanna kinda get in as far as I can today just so
74+
我今天会尽可能地讲解理论部分的内容,
6975

7076
16
7177
00:00:47,581 --> 00:00:50,916
7278
we have more time for a demo on Wednesday.
79+
这样我们周三上课时就会有足够的时间进行操作示范。
7380

7481
17
7582
00:00:50,984 --> 00:00:54,486
7683
Alright so combining MVCs, remember this slide from when
84+
回到整合 MVC 上来,还记得我们讲解 MVC 时使用的这张幻灯片吗?
7785

7886
18
7987
00:00:54,555 --> 00:00:58,190
8088
I talked about MVC. This is the MVCs working together, and
89+
这就是多个 MVCs 协同工作的示意图,
8190

8291
19
8392
00:00:58,259 --> 00:01:01,193
8493
we saw that when we have MVCs working together,
94+
我们可以看到,当多个 MVCs 协同工作时,
8595

8696
20
8797
00:01:01,261 --> 00:01:04,862
8898
these other MVCs. Let me get my thing under control here,
99+
其他的 MVC……(此处幻灯片动画出错)让我把它修好……
89100

90101
21
91102
00:01:04,931 --> 00:01:08,967
92103
well, can't do it. Okay, these other MVCs down in the corner,
104+
好吧,它彻底坏掉了。其他的角落里的 MVCs
93105

94106
22
95107
00:01:09,036 --> 00:01:12,170
96108
they serve as part of the view of another MVC. That's
97109

110+
98111
23
99112
00:01:12,239 --> 00:01:16,608
100113
the way MVC's relate. An MVC is a view, part of a view
@@ -1174,18 +1187,23 @@ the calculator there.
11741187
292
11751188
00:14:29,969 --> 00:14:32,469
11761189
By the way, you can also put the detail, wrap it in
1190+
另外,你也可以
11771191

11781192
293
11791193
00:14:32,538 --> 00:14:34,839
11801194
a navigationController. The only reason you would ever
1195+
你想做这件事,唯一的原因就是
11811196

11821197
294
11831198
00:14:34,908 --> 00:14:37,908
11841199
want to do that is to give it a title bar, cuz you don't,
1200+
想给它一个标题栏。
11851201

11861202
295
11871203
00:14:37,977 --> 00:14:40,445
11881204
you always navigate from the master, that's why it's called
1205+
你总是从导航来
1206+
you always navigate from the master, that's why it's called
11891207

11901208
296
11911209
00:14:40,513 --> 00:14:43,313
@@ -1203,9 +1221,11 @@ it's a navigationController, you need to look inside and
12031221
00:14:48,721 --> 00:14:51,488
12041222
see the thing that's inside of it, the rootViewController.
12051223

1224+
12061225
300
12071226
00:14:51,557 --> 00:14:53,223
12081227
Or you can also use visibleViewController
1228+
或者你也可以用 visibleViewController
12091229

12101230
301
12111231
00:14:53,292 --> 00:14:54,392

0 commit comments

Comments
 (0)