Objective-C Tutorial - Lesson 18: How To Create An Object & Message It

preview_player
Показать описание
Objective-C® for Dummies® by Neal Goldstein, Copyright © 2009 by Wiley Publishing, Inc., is the main source of information for this video.

I teach you how to create an object in this lesson and then send it messages. I also go through the whole program that we've been working on and explain everything.

objective-c tutorial
objective-c tutorials
Objective-C Tutorial
objective c programming tutorial
objective c programming tutorials
Objective C programming Tutorial
Рекомендации по теме
Комментарии
Автор

You are very welcome! I love to hear from people who are truly benefitting from these tutorials and appreciate the time and care I put into them!

macandcomputerhelp
Автор

This is by far the BEST tutorial I have ever seen in Objective-C (or any other tutorial for that matter). Cannot thank you enough for the effort you have put into every tutorial, such as explaining every line right down to what every syntax or argument does with colour coded rings around each.

The explanation of the whole code from 09:00 puts everything together and I really appreciate it. It all makes so much sense now.

THANK YOU macandcomputerhelp.

I'll progress to the next lesson now :)

Hustler
Автор

The book was a little hard to follow, so this video really helped make sense out of an important subject. Thanks again for your hard work.

MyPersonalGeek
Автор

Thanks for going over the code once again at the end to explain everything and clear up my brain. Really helped me understand it. Thank you!!!!

Hustler
Автор

Hey man I am from Brazil and am trying to follow all the steps of your tutorials, you have no ideia how it helps, I am still a bit lost, and trying to keep up with you, sometimes is hard sometimes is not but slowly I am going.
Mate thank you very much for all effort you put to doing theses videos, hope be reallyg good at the end !!!
Regards from a brasillian friend !!

basquesp
Автор

Simple and neat explanation. An easily understandable tutorial for a beginner like me. Thanks a lot!!

sangli
Автор

I didn't fully get it until I went through the program in my head, starting at the main. I looked at what things turned up in green and went back to where they were declared and then it all made sense.

gblax
Автор

Please go over what you're doing while your coding. I can't remember everything in the Keynote. In the earlier tutorials you would, and now you seemed to have stopped. Thanks. =)

technoguy
Автор

NSLog(@"Your mark for the video is 1000 likes and stars. Unbelivable, Thank you men")

alazari
Автор

@macandcomputerhelp too funny. Also, latest reply ever, I know. I never would have guessed they just ripped a garage band loop

canuxfan
Автор

Where'd you get that song at the end from? It used to be the theme music for MLS Extra Time on YouTube haha.

canuxfan
Автор

I still don't get it the classes and methods could you explain that like you did with thr pointer

markevolution
Автор

I've written the exactly same code in my xcode program, but when I click bluild and run the whole process is going crazy, with lot's of weird stuff like (3 CoreFoundation 0x00007fff833cf8ef ___forwarding___ + 751
4 CoreFoundation 0x00007fff833cba38 _CF_forwarding_prep_0 + 232
5 Budget Object main + 156
6 Budget Object start + 52) and more. Why?

TheGpaFilms
Автор

Fell asleep is this one for 2 mins. But very good tutorials. Please make it a bit less boring if you can...

jorjdboss
Автор

i just have 1 question is this supposed to substract 100$ and then also substract the amount converted to foreignCurrency?.. cus in my mind 100$ * 1.25 = 125$
so 1000$ - 125 != 775 ? am i right?

Xguzman
Автор

@Xguzman09 It doesn't do it all together you can see after that NSLog that it changes the dollar currency to the pound or euro currency and does the math again
1st NSLog
Converting 100.00 US dollars into foreign currency leaves $900.00

2nd NSLog
Charging 100.00 in foreign currency leaves $775.00

BhaiHindu
Автор

@canuxfan44 Haha seriously? It was just a little jingle in Garage Band.

macandcomputerhelp
Автор

@canuxfan44 Oh no problem. Yeah it is funny. Check out B.O.B. - I'll Be In The Sky at :16 and :24
Then listen to the iLife Sound Effect "Communication Static"
All these big name artists are getting their sound effects from Apple...haha

macandcomputerhelp
Автор

It doesn't make sense to have the name of the argument inside the argument definition Example: foreignCurrency is the name of the argument but in the definition you have it multiply exchangeRate:
    - (void) chargeForeignCurrency: (double) foreignCurrency {
    exchangeTransaction = foreignCurrency * exchangeRate;
    budget -= exchangeTransaction;

I know you're following a book but there is probably a easier way to do all this.

bubblt