Skip to content

Just a few thoughts about DRY #17

@kutsin

Description

@kutsin

Hi guys. I like what you are doing, and often watch your repos.

Ive been thinking about converting models and writing additional similar lines of codes in every class\struct. I was looking for a solution quite a bit, and I kinda found it but it has some disadvantage. May be it is fixable, but I have no idea at this moment.

Did you try using custom Swift.Encoder/Decoder for this purposes? I think they could help us. May be if you are get interested in, I attached a link for my try just in case.

Thank you for your attention.

https://github.com/kutsin/ManagedObjectCodable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions