• 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
Re: "Tricks" of the "Trade"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Tricks" of the "Trade"


  • Subject: Re: "Tricks" of the "Trade"
  • From: David P Henderson <email@hidden>
  • Date: Thu, 7 Jun 2001 23:10:46 -0400

On Thursday, June 7, 2001, at 02:46 , Cyril Godefroy wrote:

Nice tip!
Are there more directions than just -description ? Or do you have examples?
Do you know if java-cocoa also uses this description method or relies on pure java stuff?

-description is in the NSObject protocol.
- (NSString *)description;
Returns a textual representation of the receiver. In other words, write your description method to return information about your object which will be useful to you in debugging your object. Some ideas, return a string describing the state of your object ie, the values of its ivars.

I know nothing about cocoa-java and how that works, so I'll that commentary to someone who does.

Dave
--
Chaos Assembly Werks
"Nothing is too good to be true, except, perhaps, the morality of a bishop."
- Israel Zangwill


References: 
 >Re: "Tricks" of the "Trade" (From: Cyril Godefroy <email@hidden>)

  • Prev by Date: Static variable in Obj-C way?
  • Next by Date: Re: Obtaining Current User Name
  • Previous by thread: Re: "Tricks" of the "Trade"
  • Next by thread: Re: "Tricks" of the "Trade"
  • Index(es):
    • Date
    • Thread