On 12 Aug 2009, at 21:10, Fred Kiefer wrote:


I am not sure about the moving of classForPortCoder and
replacementObjectForPortCoder. Isn't the default behaviour the correct
one, as soon as we have clasForCoder return NSTextStorage?

Ah, yes and no ...
I'm pretty sure that if classForCoder returns NSTextStorage you don't need to implement classForPortCoder to do the same thing (though it would be harmless to do so). However, the default for replacementObjectForPortCoder is to return a proxy, so you *do* need to override that to return self.


_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to