[MacRuby-devel] Help subclassing NSXMLElement

Robert Rice rice.audio at pobox.com
Sun Jan 9 11:47:23 PST 2011


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110109/ea8009bd/attachment-0001.html>


More information about the MacRuby-devel mailing list