So why I'm not able to reproduce your problem? There is three posible case:

1.- I maid wrong the Test.
2.- You are making wrong "If" statement (maybe an assignment instead of compare 
)
3.- Something really estrange happens.

good luck
Pablo




El 14/01/2011, a las 12:44, Tito Ciuro escribió:

> Hi Pablo,
> 
> On Jan 14, 2011, at 1:35 PM, Pablo Pons Bordes wrote:
> 
>> Hello,
>> 
>> To determine if a dictionary is mutable or Inmutable you just need to use 
>> the isKindOfClass method, instead of use respondsToSelector.
>> 
>> I did a test to reproduce your problem and couldn't reproduce your problem, 
>> so my conclusion is that actually you are receiving a mutable Dictionary 
>> when you think is unMutable 
> 
> Hm. No, I'm not getting a mutable dictionary because I'm seeing a log message 
> complaining that I'm trying to call setObject:forKey: on an immutable object.
> 
> Thanks!
> 
> -- Tito

_______________________________________________

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 your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to