Skip to content

Serialize CLLocation Objects #44

@flohei

Description

@flohei

I'm trying to serialize objects that contain a CLLocation object as a property and toDictionary does not seem to cover that case yet. So I'm contemplating what the best solution here is. I thought I could probably just add a propValue is CLLocation case to the function and extract coordinate.latitude and coordinate.longitude and store them as Double values in there. But that seems kinda messy to me. Is there a nicer way you could suggest?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions