MapboxGeocoder.swift
MapboxGeocoder.swift copied to clipboard
Fileprivate identifier on Placemark.
The identifier field of the Placemark (MBPlacemark) class is currently fileprivate. This introduces complexity when persisting and matching Placemark objects. Will this be accessible in the future?
Thanks /Kewin
We changed the access level from private
to fileprivate
in #72. I think the reason for making them private was that the numeric portion of each identifier isn’t guaranteed to be stable; it’s somewhat of an implementation detail. If we expose the identifier
property publicly, there might have to be a caveat about the values being arbitrary and potentially unsuitable for long-term storage.