• 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: CFShow in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: CFShow in Cocoa
      • From: Jim Correia <email@hidden>
    • Re: CFShow in Cocoa
      • From: Prachi Gauriar <email@hidden>
References: 
 >Re: CFShow in Cocoa (From: Mark Thomas <email@hidden>)
 >Re: CFShow in Cocoa (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: [ANN] Xgrid article finally intact
  • Next by Date: Re: Continuouss NSTextViewDidChangeSelectionNotification
  • Previous by thread: Re: CFShow in Cocoa
  • Next by thread: Re: CFShow in Cocoa
  • Index(es):
    • Date
    • Thread