New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can inheritance be implemented? #159
Comments
I have also tried something like:
But this give me error:
|
With the master branch my code works, but i was using cocoa-pods which i guess is an older version. So the fix for me was to add XMLCoder as Swift package pointing to master. |
Sorry for the delay, just having a look at this. A new version of XMLCoder will be tagged soon, which will make the fix available on CocoaPods. Thanks for reporting the issue! |
Closing as resolved in 0.10 |
I have this xml:
Which represents content on a page. The page has its properties and one group which is the root node of a tree structure. The nodes of the tree are "blocks". A block is like abstract class because there are no elements in the xml that are "block", but "group" , " text", "image", "diagram" and "embed" are blocks ( they have all the properties a block has (id, x, y, width, height, padding-left, padding-right, padding-top, padding-bottom). So my problem is that i don't find a way to express that group is an array of things that are some children of "block" structure. I have to encode and decode the xml.
Here is what i did so far:
Do you have any idea how i can do it?
The text was updated successfully, but these errors were encountered: