Re: Dictionary Enumeration

2008-05-08 Thread David Wilson
On Thu, May 8, 2008 at 7:19 PM, Western Botanicals <[EMAIL PROTECTED]> wrote: > How can I lock it then? If you just want to lock it for synchronization, use an NSLock if you're multithreaded. Actually, if you're multithreaded, you should really be aware that none of the containers are thread-safe

Re: Dictionary Enumeration

2008-05-08 Thread Ken Thomases
On May 8, 2008, at 6:05 PM, Western Botanicals wrote: I am getting the following error that seems to be happening because I am enumerating through a dictionary while it is being edited. I really need these things to happen simultaneously. I doubt you do. If you think about it, the very idea

Re: Dictionary Enumeration

2008-05-08 Thread Western Botanicals
How can I lock it then? Justin Giboney ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update y

Re: Dictionary Enumeration

2008-05-08 Thread Nick Zitzmann
On May 8, 2008, at 5:05 PM, Western Botanicals wrote: I am getting the following error that seems to be happening because I am enumerating through a dictionary while it is being edited. I really need these things to happen simultaneously. What can I do? You cannot edit an NSMutableDiction

Dictionary Enumeration

2008-05-08 Thread Western Botanicals
I am getting the following error that seems to be happening because I am enumerating through a dictionary while it is being edited. I really need these things to happen simultaneously. What can I do? 2008-05-08 17:02:58.558 TimeKeeper[1641:813] *** NSDistantObject initWithCoder: 0x4d not gi