• 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: RS: NSObject members class and isMemberOfClass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RS: NSObject members class and isMemberOfClass


  • Subject: Re: RS: NSObject members class and isMemberOfClass
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 7 Sep 2007 14:07:50 -0600


On Sep 7, 2007, at 7:15 AM, Finlay Dobbie wrote:

There isn't any supported way of determining if an array is mutable or
not.

Actually, there is. Calling -classForCoder on an NSArray will return [NSArray class], while calling it on an NSMutableArray will return [NSMutableArray class].


Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: RS: NSObject members class and isMemberOfClass
      • From: Chris Suter <email@hidden>
    • Re: RS: NSObject members class and isMemberOfClass
      • From: "Clark Cox" <email@hidden>
References: 
 >RS: NSObject members class and isMemberOfClass (From: Roland Silver <email@hidden>)
 >Re: RS: NSObject members class and isMemberOfClass (From: Mike Abdullah <email@hidden>)
 >Re: RS: NSObject members class and isMemberOfClass (From: "Finlay Dobbie" <email@hidden>)

  • Prev by Date: Using the tab key to cycle through custom NSViews?
  • Next by Date: isKindOf: for two Class objects
  • Previous by thread: Re: RS: NSObject members class and isMemberOfClass
  • Next by thread: Re: RS: NSObject members class and isMemberOfClass
  • Index(es):
    • Date
    • Thread