April 14, 2011
6:15 p.m.
Ok in fact I should have check do: first and I will change thses users of do: to replace with doValues: because I was following a wrong road because of it. Stef
dict array == nil should not happen, but (dict array at: someindex ) == nil is quite normal.
I do not know I have a do: loop and some elements are nil and break the loop.
Stef
do: iterates the values in the Dictionary, and yes, it's perfectly valid to have a pair someKey -> nil in the dictionary. Why you have it (ie who put it there), and if it should be valid in your case, you'd have to figure out :)
Cheers, Henry