Objective C Tutorial

preview_player
Показать описание


C Intro 1:40
For Loop 2:37
Main Attributes 3:18
Compiling 4:52
Include 6:06
Data Types 6:17
Scanf / User Input 7:22
Data Type Precision 9:05
If Else Statement 12:07
Comparison Operators 13:02
Logical Operators 13:19
Math 16:29
For Loop 20:08
While Loop 21:58
Do While Loop 22:33
Global Variable 24:06
Functions 24:43
Pointers 28:32
Structs 32:40
Objective C Intro 34:37
Auto Release Pool 35:39
NSLog 36:18
NSString 36:30
Constants 41:02
Convert NSString to String 41:39
NSRange 42:25
NSMutableString 45:06
NSArray 47:37
NSMutableArray 50:23
Custom Objects / Classes 52:36
Header File 53:02
Properties 53:30
Method Definition 54:49
Implementation File 57:49
Constructor / Init 58:02
Self 58:45
Custom Init 59:30
Method Initialization 1:00:09
Creating Objects 1:01:28
Executing Object Methods 1:01:58
Inheritance 1:04:44
Catagories 1:07:56
Protocols 1:11:21
Block Anonymous Function 1:13:06
Enum 1:14:08
Dynamic Binding 1:14:49

In this video I'll teach most of the objective C programming language in one video. I'll also teach a great deal of the C programming language as well.

I'll cover compiling, include, variables, data types, functions, pointers, structs, main, printf, formatting, scanf, comparison operators, logical operators, if, else, ternary operator, math, casting, order of operations, looping, ARC, NSLog, classes, objects, NSLog, NSString, NSRange, NSArray, NSMutableString, NSMutableArray, init, alloc, inheritance, categories, protocols, blocks, enums, dynamic binding and more.
Рекомендации по теме
Комментарии
Автор

at first i was confused thinking "this is pretty much exactly like C", then i realized he spent 35 minutes straight just explaining C

data
Автор

Just found out about this video 8 years later.
Thanks, Derek!

carldea
Автор

Thank you so much for passing down you knowledge to others, you make learning new language seem like a breeze.

mihrdat
Автор

Just wanted to let you know Derek. I will be joining Apple next month as an engineer. It's my first job fresh out of university. I started off with this video years ago. Thanks for sharing your video. Appreciate that :)

philschmidt
Автор

Thank you for being concise, having clean audio, and zooming in on the screen to "show" what it is your trying to teach. You got a sub.

GrizzLeeTroll
Автор

Thank you, i was having trouble with objective c sintax, but you made it look humanly possible, even simple. Thank you very much

lily-lilie
Автор

dude! this is genius! i got Objective-C job after watching your video for 3 times
i tinkered with swift for 2 years though, but it doesn't help to learn a new language, just sdk. One could replace all of the media and tv-series in their life with some of your videos on repeat and learn a programming language :O

mugnoom
Автор

+Derek Banas You really should add an annotation at the beginning of the video which says "Jump to 34:00 for Objective C". Otherwise, fantastic tutorial.

krunalchande
Автор

51:32 prints NSMutableArray.
why some of the strings are quoted like "Wonder Woman" but some of them are not like Batman

YusufSaidCanbaz
Автор

The best programming tutorial I've ever seen. Thank you very much!

mikoajkrol
Автор

I'm following a lot of your tutorials for years (since 2011) and i'm still learning a lot. You have a gift to get to the guts of things quickly and explaining them in a way that makes learning an easy task. This one is no exception ! Hands down, one of the best teachers out there. Chapeau !

MonteMusicChannel
Автор

38:24 can you please elaborate why we are using the pointer notation here and the passing in a string value ?, as pointers are capable of holding only addresses. not the value of string . in this case

LiminalCodess
Автор

Thank you so much for the refresh on C! You're doing the lord's work, good sir.

willsantana
Автор

At 58:20 I don't have that pane in the bottom right visible. How do I enable that so I can drag that code in?

simonhudson
Автор

Objective C tutorials are so scarce this days.. This video is a gem..

evansowamoyo
Автор

Following along and at 15:19 I get an error at the declaration of the bool and when attempting to use it:
→ Use of undeclared identifier 'bool'

After some small search I read that bool isn't supported without importing <stdbool.h>
Or apparently you'd have to define this yourself this way:
typedef enum { true = 1, false = 0 } bool;
This is because C, having only the <stdio.h> doesn't understand what a bool is.

If anyone knows anymore information please share :)

Thanks!

PS- Thanks for the amazing tut Derek.

hugodsa
Автор

33:00 - why do you not dynamically allocate memory for the strings?

jyrgenruut
Автор

When you're pointing to a string variable like @36:59 when you write NSString *nothing = nil;

Why are you using a pointer? Is this the way character arrays are defined in OBJ C? Why can't you do

NSString nothing[] = nil;

Does it have something to do with Dynamic Memory Allocation? I don't understand why pointers are being used on strings

phillipvance
Автор

Thanks for this awesome tutorial. A question though. At 51:31, inserting Super man seems to change the type of the elements at index after that, or something like that. Why the elements after that are being printed with double quotes?!

VarghaHokmran
Автор

Oy...that NSRange part at 42:00 ...derek...any notes on WHY it's not a pointer?...really annoying when OBJC doesn't comply with the OBJC way of doing things...

ALL_ONE_SUN
welcome to shbcf.ru