• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Very Basic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Very Basic


  • Subject: Very Basic
  • From: email@hidden
  • Date: Sun, 3 Jun 2001 11:49:25 -0500

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.


  • Follow-Ups:
    • Re: Very Basic
      • From: "Dennis C. De Mars" <email@hidden>
  • Prev by Date: Objc classes to UML class diagram
  • Next by Date: Re: Build vs Compile
  • Previous by thread: Objc classes to UML class diagram
  • Next by thread: Re: Very Basic
  • Index(es):
    • Date
    • Thread