Objective-C newbie: Does anyone know of diagrams that explain class, objects and methods? -
As you have guessed from the question - I OK at the beginning Obj-
I am hoping that a person is aware of some pictures depicting the relationship between classes, objects and methods - and they are ready to share.
The problem is that I do not fully understand this by looking at the code in a textbook - at least for me
Thanks for reading!
Regards, Spencer.
Squares are similar to classes in any language, they description .
Objects are like nouns, they are example of a square. That is, if you had a description of a generic book and you did that If a thesaurus is created based on the details, then the thesaurus object will be.
Ways are less or less work if things are nouns, then the messages are verbs . << p>
[ScienceBook getTableOfContents]; // It would like to return a table of contents
Here, a getTableOfContents
message is being sent to the object ScienceBook
. So now, the science book will theoretically search, format and return a table of contents that has never sent a message.
Comments
Post a Comment