Re: Know about Mutability
Re: Know about Mutability
- Subject: Re: Know about Mutability
- From: Hugh Hoover <email@hidden>
- Date: Thu, 13 Jan 2005 23:05:27 -0800
On Jan 13, 2005, at 21:19, mmalcolm crawford wrote:
Perhaps I over-trimmed -- the context was "But how do I know whether
myDict is mutable or not?". Testing for
isKindOfClass:[NSMutableDictionary class] does not work as you might
expect...
I'm confused about why respondsToSelector: isn't working correctly...
Either the object will handle the selector (and respondsToSelector:
returns true) or it doesn't and respondsTo returns false?
Or is this object somehow not strictly an Objective C object and
therefore doesn't properly handle respondsToSelector but actually
properly handles the setObject:forkey: message? Or... ?
Hugh Hoover
_______________________________________________
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