Re: Very Basic
Re: Very Basic
- Subject: Re: Very Basic
- From: "Dennis C. De Mars" <email@hidden>
- Date: Sun, 03 Jun 2001 11:46:20 -0700
Maybe this seems almost too obvious to mention, but if you haven't yet, you
should download Apple's Objective-C book in PDF format. It is here:
http://developer.apple.com/techpubs/macosx/Cocoa/ObjectiveC/ObjC.pdf
You may not have realized it if you didn't take a look at it, but it not
only has a complete explanation of the Objective C extensions to the C
language, but it has a pretty decent chapter explaining the concepts of
object oriented programming, without the assumption that you have been
previously exposed to these concepts.
I think it is ideal for someone like you who has experience with programming
and the C language but none in object oriented programming, and it is even
tailored for the Cocoa programmer.
I'm afraid it's more than a thousand words, but if you are impatient, maybe
you can skip around and glean what you need, but at any rate you should
download if if you haven't already and have it at hand. I'd say this is one
book that every Cocoa programmer _must_ read at some point, preferably at
the beginning.
- Dennis D.
on 6/3/01 9:49 AM, email@hidden at email@hidden wrote:
>
OK don't laugh. I'm a RPG programmer (No, that doesn't stand for the
>
game type.) with about 3 months of tinkering in C. This Cocoa stuff
>
looks pretty sexy so I did the CurrencyConverter. (It only took 3
>
attempts.) So now it's working and I get the bright idea that I want the
>
total returned rounded to the nearest cent. Using Help, I find the Class
>
NSRoundingMode along with a method(?) -roundingMode. I also saw it
>
formatted like this: - (NSRoundingMode)roundingMode. These guys seem to
>
be sub classes of NSDecimal. So I was pretty excited, until it slowly
>
dawned on me that I had NO idea how to use the thing.
>
>
In the RPG world I have the luxury of documentation that treats you like
>
an idiot, thus making it pretty easy to figure out how something is
>
used. (To be fair, the constructs are pretty rudimentary.) Not so with
>
these classes.
>
>
While it would be cool if someone were to throw me a snippit of code. In
>
the long run, I think it would be more helpful if some one could
>
explain, in say 1000 words or less :)), how classes, in general, are
>
implemented. (If that's even possible.) Another approach would be to
>
point me to an article or what ever that already has a 1000 words
>
written on this.
>
>
After I send this off, I'm heading over to Vt Recipies to start that
>
track.
>
>
(Despite all, It's a cool environment.
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev