Skip to content

Instantly share code, notes, and snippets.

View maximveksler's full-sized avatar
Wow

Maxim Veksler maximveksler

Wow
  • Tel Aviv, Israel
  • 04:11 (UTC +03:00)
  • X @mvxlr
View GitHub Profile
@maximveksler
maximveksler / Lecture 4. Foundation and Attributed Strings.txt
Created January 25, 2014 18:11
Captions for Stanford CS193p Developing Applications for iOS Fall 2013-14, Lecture 4. Foundation and Attributed Strings. For more info visit http://maximveksler.github.io/CS193p/
00:05 >> Stanford University.
00:06 [ Pause ]
00:11 >> All right.
00:11 Well, welcome to lecture four, then, of CS 193P for fall of 2013/14 -- academic year 2013/14.
00:21 Today I'm going to do pretty much all slides.
00:24 I do have one brief time when we'll stop and do a little demo.
00:28 And then at the beginning of next lecture, I'll be doing a demo that pretty much demonstrates the vast majority of what I talk about in the slides today.
00:37 And remember, that's kind of how it's always going to go: I'll show it to you in slides, we'll talk about it, then I'll demo it to you.
00:42 Because when you see a demo, it all makes a lot more sense than if someone's just talking in an abstract conceptually about an API.
00:48 And then your homework is usually going to ask you to do this.
@maximveksler
maximveksler / Lecture 5. View Controller Lifecycle.txt
Created January 25, 2014 18:12
Captions for Stanford CS193p Developing Applications for iOS Fall 2013-14, Lecture Lecture 5. View Controller Lifecycle. For more info visit http://maximveksler.github.io/CS193p/
00:05 >> Stanford University.
00:11 >> Okay. Well, welcome to CS 193P fall of 2013/2014.
00:17 Today we're going to continue our discussion of attributed string from last time and talk about UITextView, which is basically a mutable attributed string viewer, okay?
00:28 It's kind of like a UILabel but much more powerful.
00:32 And we'll talk about that.
00:34 Then we're going to talk about a very important kind of conceptual thing in iOS 7 -- or in iOS in general -- which is view controller lifecycle.
00:41 So that's just the lifecycle of the controller part of your MVC and how it gets notified at different times in its lifecycle about what's going on.
00:50 Then we're going to talk about the radio station that I referred to in MVC.
00:54 We're going to talk about it in a little different context that we see in MVC because I just want to introduce it to you now.
01:02 And then throughout today's thing -- so I'm going to be -- slides here.
@maximveksler
maximveksler / Lecture 6. Polymorphism with Controllers, UINavigation, UITabBar.txt
Created January 25, 2014 18:13
Captions for Stanford CS193p Developing Applications for iOS Fall 2013-14, Lecture 6. Polymorphism with Controllers, UINavigation, UITabBar. For more info visit http://maximveksler.github.io/CS193p/
00:06 >> [ Background Music ] Stanford University.
00:08 >> Okay. Well, welcome to CS193P. This is lecture six -- six, yes, of fall 2013-14. So, today we are going to have a little demo at the beginning. I want to talk to you a little bit about polymorphism with controllers. In other words, using inheritance for -- in the world of controllers, and those of you who -- for whom object-oriented programming is not that facile quite yet, you might be, kind of like, oh yeah, I guess I could subclass my controller, and in fact, you do want to subclass your controller, and it's quite common to subclass controllers. As I said, iOS is, kind of, all designed around object-oriented programming, so you get to object-oriented principles everywhere in the system, so I'm going to show you that today, and that's to help you a little bit get you started on your homework, because what I' m going to ask for your homework is for you to add a second card matching game to your Machismo. Now this second game is almost identical, pla
@maximveksler
maximveksler / Lecture 7. Views and Gestures.txt
Created January 25, 2014 18:15
Captions for Stanford CS193p Developing Applications for iOS Fall 2013-14, Lecture 7. Views and Gestures. For more info visit http://maximveksler.github.io/CS193p/
00:00 [ Music ]
00:05 >> Stanford University.
00:07 >> Well welcome everyone to lecture number seven of CS1973P Fall of 2013-14.
00:14 Today we are going to talk about input and output.
00:17 Okay? It's about views which you're rectangular areas on the screen that you can use both to draw custom stuff and to get gestures in -- from user touch gestures, multi-touch.
00:31 I'm going to have a demo that's going to show you all that.
00:34 We're going to build a custom view, it's going to have its own custom gestures and all that stuff.
00:39 It's basically going to draw the -- you know, the cards that we used in Machismo were just really bad like A clubs.
00:47 They didn't look like cards so we're going to actually have a custom view that looks like a card.
00:51 Right? Has the things in the corner, and face cards, all that -- that whole business.
@maximveksler
maximveksler / Lecture 8. Protocols, Blocks, and Animation.txt
Created January 25, 2014 18:16
Captions for Stanford CS193p Developing Applications for iOS Fall 2013-14, Lecture 8. Protocols, Blocks, and Animation. For more info visit http://maximveksler.github.io/CS193p/
00:00 [ Music ]
00:05 >> Stanford University.
00:07 [ Silence ]
00:10 >> Okay, well, welcome to Lecture number 8 of Stanford CS193P, Fall of 2013 and 14, and today, we are going to talk about a couple of "objective-C" things first.
00:23 Language features, basically, and then we're going to talk about animation.
00:28 So animation is our topic of the day, I'll be starting a demo, at the end, which we'll finish on Wednesday.
00:34 And I'm going to demo pretty much everything I talk about, including the objective-C things, and even including some of the things we talked about last week, so it's going to be a very big, comprehensive demo, that's why it runs over into two things.
00:45 So the first objective-C thing we're going to talk about is protocols.
00:48 I hinted at this earlier in the quarter.
00:51 This is a way that we're going to make ID a little more useful by making it a little safer, okay?
@maximveksler
maximveksler / Lecture 9. Animation and Autolayout.txt
Created January 25, 2014 18:17
Captions for Stanford CS193p Developing Applications for iOS Fall 2013-14, Lecture 9. Animation and Autolayout. For more info visit http://maximveksler.github.io/CS193p/
00:00 [ Music ]
00:05 >> Stanford University.
00:08 >> Alright.
00:08 Well welcome to Lecture number 9 of CS 193p, Fall of 2013/14.
00:14 Today I'm going to finish the animation demo that we started on Monday, and then the lecture's going to be about auto layout, which is a really cool system for making it so that your user interface cam adapt to changing conditions.
00:27 And then I'll do a brief auto layout demo at the end, just so you can kind of see it in action.
00:32 Seeing is believing, especially with auto layout.
00:35 So this demo, where we left off is the blocks would come down due to gravity and they would collide at the bottom and they'd kind of run into each other, and then when a bottom row was full they would all kind of fly off into outer space.
00:51 And I think where we left off too was they would stack up and they weren't flying off, okay?
00:58 And so why weren't they flying off at the end?
@maximveksler
maximveksler / Lecture 10. Multithreading, Scroll View.txt
Created January 25, 2014 18:18
Captions for Stanford CS193p Developing Applications for iOS Fall 2013-14, Lecture 10. Multithreading, Scroll View. For more info visit http://maximveksler.github.io/CS193p/
00:00 [ Music ]
00:05 >> Stanford University.
00:08 >> Okay, well, welcome then to lecture 10, yes 10, of CS193P, Fall of 2013/14 academic year, and today, we are going to talk about multithreading.
00:20 Okay? I'm only going to talk about it briefly, but, because you'll learn a lot from multithreading kind of through experience.
00:28 Then we're going to talk about UI scroll view, a very important view that allows you to expand what you can see on that little phone screen, to let you look at larger things.
00:38 I'll do a demo that's going to cover both of those things, multithreading and scrolling.
00:42 And then however much time we'll have left we'll get started on our next topic which is UI table view, we'll continue that on Wednesday.
00:50 So multithreading, okay.
00:54 The idea with multithreading is that you want to divide up the execution paths of your program into different and distinct paths that are possibly running at the same time.
01:06 Now I say possibly, from your standpoint as a programmer,
@maximveksler
maximveksler / Lecture 11. Table View and iPad.txt
Created January 25, 2014 18:19
Captions for Stanford CS193p Developing Applications for iOS Fall 2013-14, Lecture 11. Table View and iPad. For more info visit http://maximveksler.github.io/CS193p/
00:00 [ Music ]
00:00 >> Stanford University [silence].
00:08 >> So, welcome to Lecture 11 of CS193P.
00:11 This is the fall quarter of academic year 2013/2014.
00:16 And today we're going to talk about two major topics.
00:19 One is UI TableView, which a very important class.
00:22 And also we're going to talk about an iPad now.
00:24 We've been doing everything so far on the iPhone, but we want to start doing things actually on both platforms now; iPad and iPhone.
00:30 And then I'm going to do a demo, which is going to of course incorporate these two things.
00:35 So let's dive right into TableView.
@maximveksler
maximveksler / Lecture 12. Documents and Core Data.txt
Created January 25, 2014 18:20
Captions for Stanford CS193p Developing Applications for iOS Fall 2013-14, Lecture 12. Documents and Core Data. For more info visit http://maximveksler.github.io/CS193p/
00:00 [ Music ]
00:05 >> Stanford University.
00:08 >> Okay, well welcome to CS193p, Lecture 12 of fall 2013 and 14, and today we have one topic and one topic only, which is core data.
00:19 And, as someone was asking earlier, assignment 5 is due on Wednesday and then your last assignment, assignment 6, will go out then and be due a week later.
00:29 ON Wednesday, I'm going to be going over the final project requirements and we're going to continue with core data a little bit, talk about core data with table, UI table view.
00:40 And then I'm going to do a big demo.
00:42 So today's lecture is going to be all slides.
00:45 I don't usually like to do that just because it's an awful lot of slides all at once, but it makes sense in this case and I'll be doing the demo for today's stuff on Wednesday, and then next week we'll start talking about advanced segwaying and maybe we'll do some map kit, multitasking, I'm not quite sure what I'm going to cover next week because you won't have a homework assignment ton tha
@maximveksler
maximveksler / Lecture 13. Core Data and Table View.txt
Created January 25, 2014 18:20
Captions for Stanford CS193p Developing Applications for iOS Fall 2013-14, Lecture 13. Core Data and Table View. For more info visit http://maximveksler.github.io/CS193p/
00:00 >> [music] Stanford University [ Silence ]
00:10 >> Welcome to number 13 of Stanford CS1-93B, the fall of 2013-14, and today, I'm going to go over the requirements for your final project, and then I'm going to talk a little more, a few more slides about Core Data, and how it hooks up with UI TableView, because those two are a match made in heaven, and then I'm going to do this gigantic Core Data with TableViews demo.
00:36 Alright, so you're final projects.
00:38 There's kind of two phases to your final project; one is you have to submit a proposal for us, which we'll review.
00:43 We're mostly just reviewing it for scope, to make sure you haven't picked too big a project or too small a project.
00:49 Okay, we're not, you know, looking in detail of every single thing you're going to do.
00:53 We're just trying to make sure you're headed in the right direction.
00:56 Because over the course of the final project, you're going to of course talk to us, and ask us questions and interact with us to kind of ge