Re: Mutable class problems
Re: Mutable class problems
- Subject: Re: Mutable class problems
- From: Sherm Pendley <email@hidden>
- Date: Mon, 24 Jun 2002 20:54:05 -0400
On Monday, June 24, 2002, at 08:11 PM, Rosyna wrote:
Is there another way to determine if it's immutable or not?
You could ask dict if it responds to one of the Mutable primitive
methods:
isMutable = [dict respondsToSelector: SEL(setObject:forKey:)];
sherm--
Never put off until tomorrow what you can do today. There might be a law
against it by that time.
_______________________________________________
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.