• 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: Dictionary won't write to disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dictionary won't write to disk


  • Subject: Re: Dictionary won't write to disk
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 9 Jun 2005 12:57:54 +0200

Dave,

On 9.6.2005, at 5:37, Dave DeLong wrote:

Well, the dictionary I'm pulling all this information from is the iTunes Music Library.xml file, which contains nothing but strings, integers, and dates.

Perhaps there's another way to tackle this problem. All I need to do is inspect the structure of my dictionary. From what I've seen in the debugger, there's no clear way to get a list of all the key/ value pairs of a dictionary (or array, for that matter) while debugging. Is there? That would be preferred.

There is plethora of clear ways. First, the plain "po" just prints the complete dictionary (or array) contents. Second, you can enumerate keys through keyEnumerator and print any appropriate value whenever you want to: don't forger gdb is a decent debugger, which means you can call *any* function or send *any* message from it!
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Dictionary won't write to disk (From: Dave DeLong <email@hidden>)
 >Re: Dictionary won't write to disk (From: Andy Lee <email@hidden>)
 >Re: Dictionary won't write to disk (From: Dave DeLong <email@hidden>)
 >Re: Dictionary won't write to disk (From: Andy Lee <email@hidden>)
 >Re: Dictionary won't write to disk (From: Dave DeLong <email@hidden>)

  • Prev by Date: subclassing PDFView for custom printing
  • Next by Date: Re: Dictionary won't write to disk
  • Previous by thread: Re: Dictionary won't write to disk
  • Next by thread: Re: Dictionary won't write to disk
  • Index(es):
    • Date
    • Thread