Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjC 2.0 Class +encodeWithCoder:



Class methods are prefixed with a +, and I don't think
there ever was a documented +encodeWithCoder: method
of NSObject or any other class, so it looks like it
was simply a quirk of the runtime that this ever
worked at all.

Cheers,
Chuck

--- "A.M." <email@hidden> wrote:

> I have a DO-based application which uses a Class
> object as a root  
> proxy under 10.4- it works as expected. Objective-C
> 2.0 seems to have  
> broken this option because Class no longer responds
> to - 
> encodeWithCoder:.
> 
> I am not able to think of a reason for this
> regression, but perhaps  
> the new dynamic nature of Classes prevents my
> use-case.
> 
> Is this a genuine regression or should I have never
> relied on passing  
> Classes as root proxies?
> 
> Thanks.
> -M
> _______________________________________________
> 
> 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:
>
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
> 
> This email sent to email@hidden
> 



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >ObjC 2.0 Class +encodeWithCoder: (From: "A.M." <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.