Re: Determining if NS/CFDictionary is mutable?
Re: Determining if NS/CFDictionary is mutable?
- Subject: Re: Determining if NS/CFDictionary is mutable?
- From: Sherm Pendley <email@hidden>
- Date: Mon, 23 Dec 2002 17:09:58 -0500
On Monday, December 23, 2002, at 01:52 PM, Nicholas Riley wrote:
Is there any public, documented way I can figure out whether a
NSDictionary is a mutable dictionary?
NSMutableDictionary classes are required to respond to the two primitive
methods setObject:forKey: and removeObjectForKey:, so you could use
respondsToSelector: to see if it responds to those methods.
sherm--
UNIX: Where /sbin/init is Job 1.
_______________________________________________
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.