Skip to content

Custom mappings on model #13

@davebcn87

Description

@davebcn87

For example, now it's complicated to import arrays when API attributes start in Uppercase string, because core data does not accept it. The way it works now you have to change every attribute user-defined variables in xcdatamodel.

Maybe a method in the model that returns a dictionary of the mapping should work:

- (NSDictionary *)LFSCoreDataMappingDictionary {
     return @{ "MyApiKey", "mycoredatakey" };
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions