Re: RS: NSObject members class and isMemberOfClass
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