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

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.

  • Follow-Ups:
    • Re: Mutable class problems
      • From: Sherm Pendley <email@hidden>
    • Re: Mutable class problems
      • From: "John C. Randolph" <email@hidden>
References: 
 >[ANN] AutoOpen 1.0 Released (From: Matt Judy <email@hidden>)

  • Prev by Date: Re: [ANN] AutoOpen 1.0 Released
  • Next by Date: Re: [ANN] AutoOpen 1.0 Released
  • Previous by thread: Re: [ANN] AutoOpen 1.0 Released
  • Next by thread: Re: Mutable class problems
  • Index(es):
    • Date
    • Thread