You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Annotation, AnnotationManager, Layer, and SourceInfo protocols have the property id, which would satisfy the requirements of the Swift standard library’s Identifiable protocol. These protocols might as well explicitly conform to Identifiable as a formality.
Note that this feature request applies only to protocols that already define an id property. The Identifiable protocol also provides a default implementation for AnyObject that most likely returns the object’s memory address, something that probably would not be expected.
The
Annotation
,AnnotationManager
,Layer
, andSourceInfo
protocols have the propertyid
, which would satisfy the requirements of the Swift standard library’sIdentifiable
protocol. These protocols might as well explicitly conform toIdentifiable
as a formality.Note that this feature request applies only to protocols that already define an
id
property. TheIdentifiable
protocol also provides a default implementation forAnyObject
that most likely returns the object’s memory address, something that probably would not be expected./ref mapbox/turf-swift#165
/cc @mapbox/maps-ios
The text was updated successfully, but these errors were encountered: