Re: RS: NSObject members class and isMemberOfClass
Re: RS: NSObject members class and isMemberOfClass
- Subject: Re: RS: NSObject members class and isMemberOfClass
- From: "Clark Cox" <email@hidden>
- Date: Fri, 7 Sep 2007 13:48:52 -0700
On 9/7/07, Nick Zitzmann <email@hidden> wrote:
>
> 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].
Note that he said "supported way". Who's to say that the result of
classForCoder won't change between OS updates?
--
Clark S. Cox III
email@hidden
_______________________________________________
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