[MacRuby-devel] Help subclassing NSXMLElement
Laurent Sansonetti
lsansonetti at apple.com
Sun Jan 9 14:23:05 PST 2011
Hi Robert,
Could you reduce the problem to a simple script and paste the code here?
Thanks,
Laurent
On Jan 9, 2011, at 11:47 AM, Robert Rice wrote:
> I've been trying to subclass NSXMLElement in MacRuby without success. I have implemented NSXMLDocument.replacementClassForClass returning my custom subclass to replace NSXMLElement but the parser returns NSXMLFidelityElement instances rather than my custom class instances.
>
> Has anyone done this in MacRuby?
>
> Thanks,
> Bob Rice
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110109/b914b654/attachment-0001.html>
More information about the MacRuby-devel
mailing list