Skip to content

Commit e56631d

Browse files
committed
Static cannot be overriden
1 parent faa288d commit e56631d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MapboxGeocoder/MBGeocoder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ open class Geocoder: NSObject {
129129
To use this object, a Mapbox [access token](https://www.mapbox.com/help/define-access-token/) should be specified in the `MGLMapboxAccessToken` key in the main application bundle’s Info.plist.
130130
*/
131131
@objc(sharedGeocoder)
132-
open static let shared = Geocoder(accessToken: nil)
132+
public static let shared = Geocoder(accessToken: nil)
133133

134134
/// The API endpoint to request the geocodes from.
135135
internal var apiEndpoint: URL

0 commit comments

Comments
 (0)