• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Determining if NS/CFDictionary is mutable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Determining if NS/CFDictionary is mutable? (From: Nicholas Riley <email@hidden>)

  • Prev by Date: Re: NSCFNumber, no pool in place - just leaking
  • Next by Date: Re: Problems with DO
  • Previous by thread: Re: Determining if NS/CFDictionary is mutable?
  • Next by thread: Re: Determining if NS/CFDictionary is mutable?
  • Index(es):
    • Date
    • Thread