• 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: Mutable class problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Mutable class problems
      • From: Andy Lee <email@hidden>
References: 
 >Mutable class problems (From: Rosyna <email@hidden>)

  • Prev by Date: Re: NSMutableDictionary -> NSData
  • Next by Date: My object won't alloc.
  • Previous by thread: Re: Mutable class problems
  • Next by thread: Re: Mutable class problems
  • Index(es):
    • Date
    • Thread