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
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 :)
Everything sounds rosy at first glance. Working for Apple and for big companies in general means a lot of overtime, a lot of headache and a lot of bullying from colleagues who want your position.
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 !
+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.
Your videos are just amazing. Although I have a pretty strong understanding of C, I couldn't get myself to skip that part because of your epic teaching style!
Was just about to ditch this tutorial after 5 minutes in, and bedore i left was going to write a comment saying “I wish they had a marker or disclaimer at the beginning for when objective C starts cuz I didn’t come here for a C lesson” so thanks to the comment below that says “Objective C starts at 34:53,” Maybe I’ll check it out now.
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
hey Derek I have a small doubt ,At 1:02:38 you used setName method ,is that an inbuilt method caz you did not use mention it anywhere in Animals.h file .
At 1:10:28 Can someone explain me why did he change the "Vet" to "Protected", where did he define "Protected"? And in a Animal+Vet.m class it is (Vet)...
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 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 doesn't understand what a bool is. If anyone knows anymore information please share :) Thanks! PS- Thanks for the amazing tut Derek.
Hi Derek, Love the fast-paced tempo of the content. You covered a lot in a short time without wasting time on theory. Only criticism I have is related to extensive "C" language example when this is an Objective-C video. But guess it was good for a quick comparison for those coming from C. Going to check your other videos now, hope more are like this... thanks for sharing...
+Blake Blake Thank you :) Yes I decided to cover the similarities between c and objective c. Maybe that was a mistake. I'm glad you enjoyed it none the less. I have many more videos like this.
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...
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?!
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
+Derek Banas I also went and bought the book your recommended (iPad version). I code in a completely opposite language called Pharo (modern open source Smalltalk implementation) and I want to make it more well integrated with my MacOS , so objC is a must learn for that. Of course learning the language is just the start I need to understand how dynamic libraries work and how Apple libraries work , but for that I think Apple documentation is enough. I will also watch your Swift tutorial.
1:12:35 in Koala.m file u implement the lookCute function but you leave a typo in (a " is missing), the row is indicated with the red error mark so I am waiting that you will come back and correct it. But no, you go and call that method from main.m. At 1:12:58 the calling line is still marked with red and you run Command+R and whoaaa it compiles... WAAAAAAT? :DDD with erraneus code!?!? :D What kind of magic is that? :D Do you correct it with some kind of shortkey, or the video is cut? ;)
Derek, I'm slightly confused about how method/function calls work in objective c. From the characterAtIndex method that you call on the "quote" NSString object, It seems like the format/syntax for method calling works like this: [objectName nameOfMethod:arguments] But then you say that the when you're calling a method inside a method, for some reason the syntax seems to change, like in this example (used around the 41 minute mark): [[myName uppercaseString]UTF8String] What is the UTF8String doing there in that case? Is it just a special syntax used only for casting? I would think that if the returned value of the uppercaseString method is being passed in as an argument to a method for UTF8String, it should look like this: [UTF8String someMethodName:[myName uppercaseString]] Also, you use several examples where you call methods on a class directly, without creating an object or instance, like with the NSString class here: [NSString stringWithFormat:@"- %s", name] Are those examples just utilizing static methods of the NSString class? -------------------------------------- I know that was a lot of questions, but if you have time to answer them, I'd really appreciate it. Thanks!
hi derek, seeing as to how you're a ninja coder. Im curious what is your approach to learning? do you use the pomodoro technique? do you read books from cover to cover really slowly or fast. Do you prefer to use books, articles, youtube? or paid courses... Do you take notes(hand written/typed) ? If you're reading a book half way and find most the info useless would you continue? etc. Wondering what are your personal thoughts and opinions, a detailed response would be appreciated.
That is interesting. I never heard of the Pomodoro technique, but that is very similar to what I do do. I tend to work in 1.5 - 2 hour increments though. I then take breaks during which I completely change what I'm doing. An average day starts with watching educational videos and financial / economic news while I eat breakfast. I also answer emails and such. Then I work for 2 hours. For a break I either lift weights, run or ride my bike. I shower (I work from home most days). I then work for another 1.5 hours and then eat lunch. During lunch I tend to read about what ever I I'm learning either for TH-cam videos or regular work. After lunch I work for another 2 - 3 hours and then exercise again. Work for 2 more hours, eat dinner and then work for another 2. Yes if a book is poor I ignore it and find another source being either online or another book. I speed read through books while highlighting important parts. I then break subjects down to their most important parts. I think it is very important to use numerous sources. I also think a combination of exercise and learning completely different topics helps the brain work better. I'm studying Japanese for fun right now for example. I basically work from 7 am to 9pm every day, but as you can see I mix in fun through out the day. I also have fun with my wife and kids through board games, video games, teaching my daughter to read, etc.
I don't know how I forgot this, but audio books and podcasts! I'm constantly listening to them. When I exercise, wait for a bus, ride in a car, walk around the house, etc. I'm constantly listening to something. I prefer non-fiction books, but I don't only listen to educational things. Currently I'm listening to Mindhunter, which is about the FBI agents that invented criminal profiling. The podcasts I like include Planet Money, This American Life, Ted Talks, Learn Japanese, Joe Rogan and many more
there is a lot of learning mixed into the work hours as well correct? but the lunch time portion is sort of exclusive for learning and absorbing new material, how long does the lunch learning usually last? thanks for the detailed responses, i appreciate it. The issue i face most often when programming is that if I try to speed read (especially books) I get really lost. Same applies for courses, etc depending on the difficulty level
Derek.......Derek........Derek!!! I never expected you to do Objective C(Apple platform) :D but you did. Thanks for being this awesome :) Keep it coming
Also, I'm pretty sure you don't need to save anything when you use xcode. I think as soon as you type something it is saved. You can just use command-r to run your app.
Great Lesson! Chance you could give a lesson on writing a floating point package? Your skills show discipline and ability, been watching and listening long time now. At one time I let all this go with my hands in the air, clearly a re-occurring event in my lifetime... big mistake, I have become my own worst enemy. Derek Banas For Pres 2024!
hi Derek, I was wondering how to build and run the Objective-C code in Windows and Linux and the video didn't seem to address this, can you please clarify? Thanks, keep up great quality videos like this.
does the windows version do that highlighting of expected parameters . also does it when moused or highlighted give alternative possible arguments w/ parameters expected.
Very nice video - C part was redundant for me so I skipped . Obj-c was well explained and thank you for that. I did not know about nil 😂. Last few concepts of category and blocks are rushed but a very good run up into obj-c. Appreciate your help
How does changing (Vet) --> (Protected) make it protected? Doesn't the category have the same properties regardless of if you change that? Is that just a mental note for the programmer?
It's wrong that if you pass "I", "am" and "happy" to a program they'll have 0, 1 and 2 as their indexes in the args array :) They will actually have 1, 2 and 3 as the location 0 of that array houses the program itself on the command line. Let's say you're invoking foo --hello --world. The args array will be: [0] = foo [1] = --hello [2] = --world Anyway, I don't want to be a smart alec. I just want to be useful for those who're watching and have maybe heard about that for the first time :)
I can't find a decent compiler on the AppStore for my iPad .The one I found doesn't compile a basic program.It doesn't even know get_int or get_float.Why is that and what to do?
Preparing for an interview. Maybe the 10th (or 20th?) time reviewing and studying this video the past calendar decade or so. Heard that joke anout about an animal that does conversions so many times
Hi Derek 3 NEW requests for ur future videos. I will heavily appreciate and I will be extremely benefited if u make videos on them. PRICELESS, for sure. (1) All important DATA STRUCTURES and ALGORITHMS (2) 2 popular problem solving techniques -- DP (dynamic programming), Recursion w/ backtracking (3) JVM concepts -- Madhukiran
1) SLOW. DOWN. 2) Split into multiple videos 3) EXPLAIN SYNTAX. Having a B.S. in Computer Science doesn't even help anyone if they can't follow. 4) DON'T speak in monotone. Super easy to get distracted or fall asleep.
@@derekbanas Glad to help! I'd say those first 2 are the most important. These days, most people want bite-size chunks when watching TH-cam and not a long lecture.
@@john_hudg Do you really hope to learn a programming language in an hour or two? ))) Look at such videos as on overviews of languages and technologies. Of course you can't learn anything by watching such videos ))) For example, I'll never be a Objective C programmer. I just want to be acquainted of the sintax and some basics of Objective C, not more.
I recently taught myself C++ (I’m in no way a pro yet) and I wrote a nifty video poker game for my first foray into the language. I have decades of experience already as an Assembly language programmer, but I have to say, C is a PAIN IN THE ASS trying to remember the syntax for all those dependency files (include files). I don’t think beginners realize that native C is VERY SIMPLISTIC and has no sound, graphics, or mouse capability without the INCLUDE files which allow C to do more. At least in Assembly, ONE INSTRUCTION SET does everything and it does it WAY FASTER than these “high level languages” and you have the benefit of communicating directly with the CPU (I’m a hardware engineer too). I know some people think Assembly is tough, but I love it. It’s just not unfortunately transportable. I’m learning C/C++/obj-C to write code for iPhone apps.
Derek Banas first thanks u for this nice video , just i have question because i don't see all the video , i want know the objective c is the same c language or there is difference & if there is difference what we can do with objective c ,thanks again.
Wait so (i % 2) is true when it's an odd number and false when it's even? My understanding is that the % leaves you with the remainder, so if I am correct, does that mean that 1=true and 0=false inside of if statements? Does this work in other languages like Java?
TO NOTE: getSum: nextNumber: is NOT proper Objective C style method param naming. It should be like a fill in the blank statement. This would be recommendable: getSumByAddingThisNum: andThisNum:
I took no offense haha...and what does his working hard on his vids have anything to do what your talking about? I'm confused to what this is about haha so I'll drop it with this..Good day sir
Hi Derek Banas you make very nice tutorials. Thanks Any chance you'll make create tutorials for Selenium Automation(using Java) testing? or on Load testing, performance testing etc.
Do you do live commentary or you create and do a voice over? I am looking for a good workflow to create linux tutorials, so any help can help. And yes, as you encouraged me to create tutorials I have found the courage to start with it.
Techinbits Good for you! We need more people making tutorials. I have a video about how I make TH-cam videos on my channel. I create videos in a few ways. For this one I just had a list that basically looked like the list in the description here. Then I wrote the code demonstrating each part. For my tutorials in which I make something, I normally create a sequence diagram in pencil and then convert it into code live while recording. I script very little. I cut out errors in editing. Feel free to ask anything. I'm always glad to help. I think the thing that makes me different is that I edit my videos to a pretty extreme rate. It normally takes me 3 times as long to edit videos as it does to record them.
Objective - C tut starts at 34:53
+Hayk Gasparyan Hold on...you were not kidding??!!
God bless you, good man
Hayk Gasparyan thanks
Tnks
Genius :))
at first i was confused thinking "this is pretty much exactly like C", then i realized he spent 35 minutes straight just explaining C
Just found out about this video 8 years later.
Thanks, Derek!
Thank you so much for passing down you knowledge to others, you make learning new language seem like a breeze.
+Mehrdad Dastgir Thank you :) I'm very happy that you enjoy the videos.
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.
Thank you very much :) I'm happy you found it useful.
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 Thank you for the compliment :)
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 :)
That is so awesome!!! Congratulations!!! I wish you all the best in life :)
Everything sounds rosy at first glance. Working for Apple and for big companies in general means a lot of overtime, a lot of headache and a lot of bullying from colleagues who want your position.
@@rivciks5045A lot of pay
Thank you so much for the refresh on C! You're doing the lord's work, good sir.
+Will Santana You're very welcome :) I'm doing my best
This made me chuckle... this is a very clearly articulated computer science lesson all squeezed into one. I would say he's doing the lords work LOL
Gods Plan :D
Thank you, i was having trouble with objective c sintax, but you made it look humanly possible, even simple. Thank you very much
The best programming tutorial I've ever seen. Thank you very much!
Thank you very much for the compliment :)
Objective C tutorials are so scarce this days.. This video is a gem..
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 !
Thank you for taking the time to tell me I helped :) I appreciate it!
+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.
You make learning code simple! Awesome video Derek
Thanks!
Thank you so much for the support :)
51:32 prints NSMutableArray.
why some of the strings are quoted like "Wonder Woman" but some of them are not like Batman
Your videos are just amazing. Although I have a pretty strong understanding of C, I couldn't get myself to skip that part because of your epic teaching style!
+Yash Belhe Thank you for the nice compliment :)
Was just about to ditch this tutorial after 5 minutes in, and bedore i left was going to write a comment saying “I wish they had a marker or disclaimer at the beginning for when objective C starts cuz I didn’t come here for a C lesson” so thanks to the comment below that says “Objective C starts at 34:53,” Maybe I’ll check it out now.
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
hey Derek I have a small doubt ,At 1:02:38 you used setName method ,is that an inbuilt method caz you did not use mention it anywhere in Animals.h file .
At 1:10:28 Can someone explain me why did he change the "Vet" to "Protected", where did he define "Protected"? And in a Animal+Vet.m class it is (Vet)...
it's an access modifier
I'm very beginner in Objective-C...! Thank You so much for the really helpful tutorial...!
+Thành Trần You're very welcome :)
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?
That last 10 mins of that video on 2x is so full of info
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
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 doesn't understand what a bool is.
If anyone knows anymore information please share :)
Thanks!
PS- Thanks for the amazing tut Derek.
Awesome video, pace is a bit quick so had to 'rewind' a couple times, but solid content for 1 hour. great job!
Thank you very much :) I did my best
Hi Derek, Love the fast-paced tempo of the content. You covered a lot in a short time without wasting time on theory. Only criticism I have is related to extensive "C" language example when this is an Objective-C video. But guess it was good for a quick comparison for those coming from C. Going to check your other videos now, hope more are like this... thanks for sharing...
+Blake Blake Thank you :) Yes I decided to cover the similarities between c and objective c. Maybe that was a mistake. I'm glad you enjoyed it none the less. I have many more videos like this.
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...
@10:20 That's not the smalles long integer we can store, that's the biggest negative integer we can store
Once Derek used superheroes in this coding tutorial, i had to subscribe
You, sir, are an artist.
You’re very kind :)
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?!
Thanks Derek, great super quick intro.
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
Great Tutorial !!!!!, an awesome guide for someone coming from any other programming language.
You go to the point. I love it !
Thank you :) I try not to waste time
Thank you for the high quality tutorials
Sengeto Thank you :) You're very welcome
thank you this is a very good tutorial , great job , it looks like objc is not as bad as i thought to be :)
+Dimitris Chloupis You're very welcome :) You are correct. ObjC is pretty easy to learn.
+Derek Banas I also went and bought the book your recommended (iPad version). I code in a completely opposite language called Pharo (modern open source Smalltalk implementation) and I want to make it more well integrated with my MacOS , so objC is a must learn for that. Of course learning the language is just the start I need to understand how dynamic libraries work and how Apple libraries work , but for that I think Apple documentation is enough. I will also watch your Swift tutorial.
thanx alot
very nice and smooth pronunciation and very infomative lesson!
Thank you very much :)
1:12:35 in Koala.m file u implement the lookCute function but you leave a typo in (a " is missing), the row is indicated with the red error mark so I am waiting that you will come back and correct it. But no, you go and call that method from main.m. At 1:12:58 the calling line is still marked with red and you run Command+R and whoaaa it compiles... WAAAAAAT? :DDD with erraneus code!?!? :D What kind of magic is that? :D Do you correct it with some kind of shortkey, or the video is cut? ;)
Sorry, but I'm not sure what happened? I almost always show if I make a correction. I can't understand why I didn't. Sorry about that
You have officialy replaced Batman as my hero! Thanks for your time and dedication
dilo00o That's funny :) Thank you and you're very welcome
Derek, your videos are amazing! Thanks for putting the time into making these :-)
Aaron Takizad Thank you for the compliment :) You're very welcome
explained pointers like a boss, thanks!
Derek, I'm slightly confused about how method/function calls work in objective c. From the characterAtIndex method that you call on the "quote" NSString object, It seems like the format/syntax for method calling works like this:
[objectName nameOfMethod:arguments]
But then you say that the when you're calling a method inside a method, for some reason the syntax seems to change, like in this example (used around the 41 minute mark):
[[myName uppercaseString]UTF8String]
What is the UTF8String doing there in that case? Is it just a special syntax used only for casting? I would think that if the returned value of the uppercaseString method is being passed in as an argument to a method for UTF8String, it should look like this:
[UTF8String someMethodName:[myName uppercaseString]]
Also, you use several examples where you call methods on a class directly, without creating an object or instance, like with the NSString class here:
[NSString stringWithFormat:@"- %s", name]
Are those examples just utilizing static methods of the NSString class?
--------------------------------------
I know that was a lot of questions, but if you have time to answer them, I'd really appreciate it. Thanks!
You're everywhere in every field!! like spider man; We should call you "The amazing Derek"; THANK YOU!
guechi mohammad That's funny :) Thank you. I do my best
hi derek, seeing as to how you're a ninja coder. Im curious what is your approach to learning? do you use the pomodoro technique? do you read books from cover to cover really slowly or fast. Do you prefer to use books, articles, youtube? or paid courses... Do you take notes(hand written/typed) ? If you're reading a book half way and find most the info useless would you continue? etc. Wondering what are your personal thoughts and opinions, a detailed response would be appreciated.
That is interesting. I never heard of the Pomodoro technique, but that is very similar to what I do do. I tend to work in 1.5 - 2 hour increments though. I then take breaks during which I completely change what I'm doing. An average day starts with watching educational videos and financial / economic news while I eat breakfast. I also answer emails and such. Then I work for 2 hours. For a break I either lift weights, run or ride my bike. I shower (I work from home most days). I then work for another 1.5 hours and then eat lunch. During lunch I tend to read about what ever I I'm learning either for TH-cam videos or regular work. After lunch I work for another 2 - 3 hours and then exercise again. Work for 2 more hours, eat dinner and then work for another 2.
Yes if a book is poor I ignore it and find another source being either online or another book. I speed read through books while highlighting important parts. I then break subjects down to their most important parts. I think it is very important to use numerous sources. I also think a combination of exercise and learning completely different topics helps the brain work better. I'm studying Japanese for fun right now for example. I basically work from 7 am to 9pm every day, but as you can see I mix in fun through out the day. I also have fun with my wife and kids through board games, video games, teaching my daughter to read, etc.
I don't know how I forgot this, but audio books and podcasts! I'm constantly listening to them. When I exercise, wait for a bus, ride in a car, walk around the house, etc. I'm constantly listening to something. I prefer non-fiction books, but I don't only listen to educational things. Currently I'm listening to Mindhunter, which is about the FBI agents that invented criminal profiling. The podcasts I like include Planet Money, This American Life, Ted Talks, Learn Japanese, Joe Rogan and many more
there is a lot of learning mixed into the work hours as well correct? but the lunch time portion is sort of exclusive for learning and absorbing new material, how long does the lunch learning usually last? thanks for the detailed responses, i appreciate it. The issue i face most often when programming is that if I try to speed read (especially books) I get really lost. Same applies for courses, etc depending on the difficulty level
Derek.......Derek........Derek!!! I never expected you to do Objective C(Apple platform) :D but you did. Thanks for being this awesome :) Keep it coming
Prakshapan Shrestha I make videos on anything that is requested if I can. I'm glad you liked it. Swift is next
Also, I'm pretty sure you don't need to save anything when you use xcode. I think as soon as you type something it is saved. You can just use command-r to run your app.
Around 15:00 you've declared: bool isElementary = ((age >= 12) && (age
I included this #include
+Derek Banas thx my friend!!!
Hey! When are you making the Swift tutorial?? :)
I'd love to see that too!
Ashwin murali I'm working on it :)
Derek Banas awesome.
Derek Banas I'm looking forward to it!
Thank you :)
Thanks for making this video so concise and organised.
Great Lesson! Chance you could give a lesson on writing a floating point package? Your skills show discipline and ability, been watching and listening long time now. At one time I let all this go with my hands in the air, clearly a re-occurring event in my lifetime... big mistake, I have become my own worst enemy. Derek Banas For Pres 2024!
Thank you for the big help. now obc isn‘t so confusing anymore.
33:00 - why do you not dynamically allocate memory for the strings?
Awesome tut, keep up the good work man
+PH Webdev PHP Thank you :)
hi Derek, I was wondering how to build and run the Objective-C code in Windows and Linux and the video didn't seem to address this, can you please clarify? Thanks, keep up great quality videos like this.
You teach like a machine !!!
i bought a course on udemy which is complete garbage, this is so clear thank u so much
Thank you very much :) I'm sorry you wasted your money
does the windows version do that highlighting of expected parameters . also does it when moused or highlighted give alternative possible arguments w/ parameters expected.
+Zachary Meyer Look up Objective-C Autocompletion for Sublime Text
Very nice video - C part was redundant for me so I skipped . Obj-c was well explained and thank you for that. I did not know about nil 😂. Last few concepts of category and blocks are rushed but a very good run up into obj-c. Appreciate your help
How does changing (Vet) --> (Protected) make it protected? Doesn't the category have the same properties regardless of if you change that? Is that just a mental note for the programmer?
It's wrong that if you pass "I", "am" and "happy" to a program they'll have 0, 1 and 2 as their indexes in the args array :)
They will actually have 1, 2 and 3 as the location 0 of that array houses the program itself on the command line.
Let's say you're invoking foo --hello --world. The args array will be:
[0] = foo
[1] = --hello
[2] = --world
Anyway, I don't want to be a smart alec. I just want to be useful for those who're watching and have maybe heard about that for the first time :)
I vaguely remember this in college. Thanks for the refresher.
Love your work bro! Keep it up!
+Shawn Lapuz Thank you :) Many more are coming
I can't find a decent compiler on the AppStore for my iPad .The one I found doesn't compile a basic program.It doesn't even know get_int or get_float.Why is that and what to do?
Sorry I can't find a iPad compiler either. I have no idea why someone hasn't fixed this?
Fantastic tutorials as always. Would love to see AngularJS, Ember, etc. and general advice on choosing a JS framework. Thanks!!!
Don Ricardo JR Thank you :) Those tutorials are coming very soon.
This a great tutorial +10! Thank you so much Derek! :)
Thank you very much :)
Wow, this is amazing. Crystal clear.
+Harish Renukunta Thank you :)
Preparing for an interview. Maybe the 10th (or 20th?) time reviewing and studying this video the past calendar decade or so. Heard that joke anout about an animal that does conversions so many times
Hi Derek
3 NEW requests for ur future videos. I will heavily appreciate and I will be extremely benefited if u make videos on them. PRICELESS, for sure.
(1) All important DATA STRUCTURES and ALGORITHMS
(2) 2 popular problem solving techniques -- DP (dynamic programming), Recursion w/ backtracking
(3) JVM concepts
-- Madhukiran
Great tutorial, thanks Derek !
Thank you :)
1) SLOW. DOWN.
2) Split into multiple videos
3) EXPLAIN SYNTAX. Having a B.S. in Computer Science doesn't even help anyone if they can't follow.
4) DON'T speak in monotone. Super easy to get distracted or fall asleep.
I'm sorry you didn't like the video. Thanks for the input
@@derekbanas Glad to help! I'd say those first 2 are the most important. These days, most people want bite-size chunks when watching TH-cam and not a long lecture.
@@john_hudg Do you really hope to learn a programming language in an hour or two? ))) Look at such videos as on overviews of languages and technologies. Of course you can't learn anything by watching such videos ))) For example, I'll never be a Objective C programmer. I just want to be acquainted of the sintax and some basics of Objective C, not more.
There are also unsigned integer types, which can store larger positive values but start at 0
hey hi Derek, I have a question, I know whats a @interface and @end, but what is a @protocol, there is a lot of @otherNames.
Great review on the C language and great objc tutorial.
Congratulations ;)
+Ricardo Gehrke Filho Thank you :) I'm glad you liked it
Can someone tell me What is index
I recently taught myself C++ (I’m in no way a pro yet) and I wrote a nifty video poker game for my first foray into the language. I have decades of experience already as an Assembly language programmer, but I have to say, C is a PAIN IN THE ASS trying to remember the syntax for all those dependency files (include files). I don’t think beginners realize that native C is VERY SIMPLISTIC and has no sound, graphics, or mouse capability without the INCLUDE files which allow C to do more.
At least in Assembly, ONE INSTRUCTION SET does everything and it does it WAY FASTER than these “high level languages” and you have the benefit of communicating directly with the CPU (I’m a hardware engineer too). I know some people think Assembly is tough, but I love it. It’s just not unfortunately transportable. I’m learning C/C++/obj-C to write code for iPhone apps.
you make great tutorials
Thank you very much :)
Madara Uchiha is learning objective C...so that he can hack the otsutsuki😲
Excellent Tutorial on C basic's to advance Obj C. This guy is amazing !!! Do you have any course for sale ?
Thank you for the compliment :) I don't sell anything. All my videos are free.
Lots of information in 80 minutes, well done. You are a time savior :D
Thank you very much :)
Good video, I hope you will next time make whole video for C# including all things. You are the best 😊 ✌
What coding software are you using, is it free on mac?
XCode and yes it is free
Hi Derek, I'm always enjoying your videos. Do you have anything on tdd/unit testing. Looking forward to the c# video.
Darren
Darren Dhanpat Thank you :) I have been wanting to do a JUnit tutorial for a while and just haven't done it. I'll do my best.
Derek Banas
first thanks u for this nice video , just i have question because i don't see all the video , i want know the objective c is the same c language or there is difference & if there is difference what we can do with objective c ,thanks again.
Why are all those @ signs necessary? When do I have to put an @ sign before something?
Same with *
I would like to follow the tutorial on Linux as I don't have a MAC, would that be possible?
Thanks for the video. :D Better than reading alone!
+Mitchelle Spencer Your welcome :) I'm glad it helped.
wait a minute
THIS IS JUST C++
I learned so much in an hour. Thanks! Can you make videos about making games in Unity or UE4 and 3D modeling?
TheFilipsed I'm glad it helped :) I'm planning on making a ton of game tutorials very soon. I'll cover C# very soon which should help with unity.
Wait so (i % 2) is true when it's an odd number and false when it's even? My understanding is that the % leaves you with the remainder, so if I am correct, does that mean that 1=true and 0=false inside of if statements? Does this work in other languages like Java?
Yes in Obj-C 1=true and 0=false
I really appreciate your teaching :)
Thank you very much :)
TO NOTE: getSum: nextNumber: is NOT proper Objective C style method param naming. It should be like a fill in the blank statement. This would be recommendable: getSumByAddingThisNum: andThisNum:
Andy document based demo for Mac using Objective-C?
Don't learn objective-C in 2021 go learn Swft or javaScript
Can you do a swift tutorial?
Kiran Patel Yes in the next 2 weeks. Lua is next and then either Swift or C#
Derek Banas C# first please!
*****
You act as if I was telling him what to do..I was merely throwing a harmless suggestion. Of course he will do which one he wants to first.
I took no offense haha...and what does his working hard on his vids have anything to do what your talking about? I'm confused to what this is about haha so I'll drop it with this..Good day sir
very nice tutorial! thank you sir!
Thank you very much :) Happy to be of help
Derek, are you going to make Perl Tutorial?
xbsoft Sure I just need to film them. Swift is filmed and needs edited. I'll cover the other languages ASAP
Derek Banas
Ok.. Thank you for your excellent tutorials/videos. :)
Hi Derek Banas you make very nice tutorials. Thanks
Any chance you'll make create tutorials for Selenium Automation(using Java) testing? or on Load testing, performance testing etc.
luckeeeeee Thank you :) I'll see what I can do once I get into JEE. Sorry about the wait.
Do you do live commentary or you create and do a voice over? I am looking for a good workflow to create linux tutorials, so any help can help. And yes, as you encouraged me to create tutorials I have found the courage to start with it.
Techinbits Good for you! We need more people making tutorials. I have a video about how I make TH-cam videos on my channel. I create videos in a few ways. For this one I just had a list that basically looked like the list in the description here. Then I wrote the code demonstrating each part. For my tutorials in which I make something, I normally create a sequence diagram in pencil and then convert it into code live while recording. I script very little. I cut out errors in editing. Feel free to ask anything. I'm always glad to help. I think the thing that makes me different is that I edit my videos to a pretty extreme rate. It normally takes me 3 times as long to edit videos as it does to record them.
Great done! Thanks!
thanks derek. Time to make that mac software!!!!!!
jasonc_tutorials You're very welcome :)
For float or double, if after 6 digits we lose precision, then why the min float is 1.175494e-38 instead of 1e-7?