Re: Know about Mutability
Re: Know about Mutability
- Subject: Re: Know about Mutability
- From: mmalcolm crawford <email@hidden>
- Date: Thu, 13 Jan 2005 20:39:12 -0800
On Jan 13, 2005, at 8:27 PM, James Bucanek wrote:
What's wrong with
if ([myDict isKindOfClass:[NSMutableDictionary class]])
...
?
If it's an NSMutableDictionary, and it implements the methods in the
NSMutableDictionary implementaion, then it has to be a subclass of
NSMutableDictionary -- right?
Sadly not. A bug has already been filed to explain this in the
documentation...
mmalc
_______________________________________________
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