bulldog2011/mxjc

Adding copyWithZone when generating files for Pico using mxjc

Opened this issue · 0 comments

Hi there,

We've been using mxjc to generate objective-c files for Pico based on our XSD file. Are there any plans to implement - (id)copyWithZone:(NSZone *)zone to the auto-generated files coming from mxjc? This could be very useful when using "copy" for your @Property declarations.

The workaround right now is to either manually implement copyWithZone after the files are generated (overwriting files becomes an issue with this route) or implementing a category that takes care of copyWithZone for that particular class.

Thanks!
Alex