Hey you guys, I say this with love, but if y'all would put the energy you're
spending complaining about learning Objective C into actually starting to learn
Objective C then I think you'll find that it's really not that hard! *warm
smile*
Just to give a really quick intro to the language;
• It uses methods or blocks of code just like C, C++ and other C style
languages.
• An Objective C method definition might look like:
-(void) doSomething {
// Doing things here
}
the minus sign means that this method can be called on each object of the class
where this method is defined. If there were a plus sign instead, the method
could be called on the class itself.
The void in parentheses means that the method returns or generates nothing.
then we have the method's name and the two braces which enclose the actual code
that gets executed when you call the method.
• Methods in Objective C are called as in:
[self doSomething];
The call is surrounded in brackets. and the self in the first part of the call
refers to the object or class where the method is declared. Lastly, we have the
method name itself and then the semicolon which ends the line just like in the
C languages.
Hope all this makes sense and allows you to start reading some Objective C
syntax to start to tell what is happening.
Smiles,
Cara :)
---
View my Online Portfolio at:
http://www.onemodelplace.com/CaraQuinn
Follow me on Twitter!
https://twitter.com/ModelCara
---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].