Mutable class problems
Mutable class problems
- Subject: Mutable class problems
- From: Rosyna <email@hidden>
- Date: Mon, 24 Jun 2002 17:11:00 -0700
I have a method that can receive either Mutable or Immutable
Dictionaries. I try to determine what to do with the passed in
argument based on that. I am also trying to use isMemberOfClass:
method to determine if it's mutable. But...
NSStringFromClass([dict class]); //returns NSCFDictionary when dict
is declared as NSMutableDictionary
And
NSStringFromClass([NSMutableDictionary class]); //returns NSMutableDictionary.
Is there another way to determine if it's immutable or not?
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
---
Please include any previous correspondence in replies, it helps me
remember what we were talking about. Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.