Re: CFShow in Cocoa
Re: CFShow in Cocoa
- Subject: Re: CFShow in Cocoa
- From: Bob Ippolito <email@hidden>
- Date: Wed, 12 May 2004 14:03:20 -0400
On May 12, 2004, at 5:59 AM, Stiphane Sudre wrote:
On 12 mai 2004, at 00:29, Mark Thomas wrote:
I found that I didn't get the same output i.e. A dump of everything
within
NSDictionary or CFDictionary when I do this in carbon (or was it not
compiling). Should there be any difference in the syntax the there's
no
NSString of NSDictionary ???.
The results differ whether you use:
NSLog(myDictionary);
Which is incorrect unless myDictionary is a NSString*. RTFM :)
or
NSLog(@"%@",[myDictionary description]);
NSLog(@"%@", myDictionary) is all you need, the description is implicit.
-bob
_______________________________________________
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.