• 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: NSObject description not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSObject description not working


  • Subject: Re: NSObject description not working
  • From: Nick Zitzmann <email@hidden>
  • Date: Sat, 10 Jan 2004 23:35:57 -0800

On Jan 10, 2004, at 8:20 PM, matt neuburg wrote:

The following code shows the problem. The first two parts are just warm-up, to
show what *should* happen. The third part is the problem.

MyObject* obj = [[MyObject alloc] init];
NSLog([obj description]); // "howdy"

On all of your NSLog calls, what happens when you do this instead:

NSLog(@"%@", [obj description]); // or whatever description needs to be printed

Nick Zitzmann
<http://seiryu.home.comcast.net/>
<http://www.freshlysqueezedsoftware.com/>
S/MIME signature available upon request

UNIX: Where /sbin/init is Job #1.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSObject description not working (From: matt neuburg <email@hidden>)

  • Prev by Date: Custom NSView from IB Palette refuses to shrink
  • Next by Date: continuous slider
  • Previous by thread: NSObject description not working
  • Next by thread: Re: NSObject description not working
  • Index(es):
    • Date
    • Thread