This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:00 = [ Music ] | |
00:05 >> Stanford University. | |
00:07 >> Okay, well welcome to Lecture number 3 of CS193p for fall of 2013/14. | |
00:14 Today I'm going to jump right into a demo and then after that I have some slides, time permitting, assuming the demo doesn't take [pause] the whole time here, and after, the demo I'm going to do is I'm going to take the little card thing we did last week and turn it into a real card matching game where we're actually matching cards, okay, rather than just flipping them over. | |
00:37 And, like I say, if I have the time I'll talk a little bit more about objective-C and we're really going to go into objective-C on Wednesday in quite a bit of detail. | |
00:46 I also included on the stuff I posted some review slides at the end just kind of reviewing what we will have learned in the first three lectures, just so you can kind of look through it real quick and say oh yeah, do I know that? | |
00:56 Yeah I do, and if not, than you can obviously post and ask us questions about it. | |
01:02 Okay? So, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:05 >> Stanford University. | |
00:11 >> Paul Hegarty: Okay. | |
00:11 Well, welcome to lecture number two of CS 193P for fall of 2013/2014 academic year. | |
00:20 And today we're going to have some slides at the beginning, little more talking, and then I'm going to have quite a big demo that's going to try and hopefully synthesize all the things I've been talking about on the slides for the first two lectures, which is that we're going to start building our card game. | |
00:36 Okay. This card matching game is going to be our substrate for the first two weeks of learning some Objective-C, learning about Xcode, learning about how iOS hooks up the controller, and the view, and the model to make a UI. | |
00:52 So if you remember from last time, we did this card thing that -- we did the entire card. | |
00:58 It was a very simple class. | |
01:00 Got a couple of properties -- three properties there -- and one method. | |
01:04 And that's pretty much it. | |
01:05 And so today we're going to go on and do another class, which is a deck, okay? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:00 [ Music ] | |
00:05 >> Stanford University. | |
00:09 >> Alright, so welcome to Stanford CS193p, fall of 2013-14 academic year. | |
00:14 This is our very first lecture and we are going to be covering developing applications for iOS, so specifically iOS7. | |
00:22 Today's lecture kind of has a first part and a second part. | |
00:26 The first part is a little bit of logistics. | |
00:28 The second part is I'm going to dive right into the course material because there's a lot to cover and so, we need to start covering it. | |
00:36 [Pause] So, what will I learn in this course? | |
00:38 I think you know what you're going to learn in this course. | |
00:40 You're going to learn how to build cool apps, okay? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2222 | |
222222 | |
22 22 | |
2 222 | |
222 | |
222 | |
222 | |
22222222 | |
22222222 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prelude> :{ | |
Prelude| let abs x | |
Prelude| | x < 0 = 0 - x | |
Prelude| | otherwise = x | |
Prelude| :} | |
<interactive>:59:5: parse error (possibly incorrect indentation) |