skip to main | skip to sidebar

rufus/tech

Thursday, October 08, 2009

Objective C "toString"

Through a little digging, I found that Objective C's equivalent to Java's Object.toString method is NSObject's description method. Of course, it can be called on any object that has NSObject as an ancestor, which is typically all objects.
Posted by Rufus at 8:44 AM
Labels: Objective C, toString

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Rufus
View my complete profile

iPhone Reference Library

  • iPhone Reference Library
  • General Interface
  • Google App Engine
  • Python

Blog Archive

  • ►  2010 (9)
    • ►  June (2)
    • ►  May (3)
    • ►  April (1)
    • ►  February (3)
  • ▼  2009 (20)
    • ▼  October (8)
      • Accessors and Memory Leaks
      • Xcode: EXC_BAD_ACCESS
      • UIScrollView for Data Entry Pages
      • Objective C "toString"
      • Objective C Hello World, Part III
      • Objective C Hello World, Part II
      • Objective C Hello World
      • Objective C Method Syntax
    • ►  September (2)
    • ►  August (6)
    • ►  July (2)
    • ►  June (1)
    • ►  April (1)
  • ►  2008 (7)
    • ►  November (1)
    • ►  October (2)
    • ►  June (2)
    • ►  April (1)
    • ►  March (1)
  • ►  2007 (24)
    • ►  December (1)
    • ►  August (2)
    • ►  July (7)
    • ►  June (1)
    • ►  May (4)
    • ►  April (6)
    • ►  January (3)
  • ►  2006 (2)
    • ►  December (2)