Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dictionary won't write to disk



On Jun 8, 2005, at 11:37 PM, Dave DeLong wrote:
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.

You could write a small method that prints all the key/value pairs, using NSDictionary's -keyEnumerator method. Then either put a call to that method in your code or break in the debugger and call it manually.


--Andy

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.