Skip to content

Commit f172155

Browse files
committed
fix up optional use
1 parent 578df1d commit f172155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MBGeocoder/MapboxGeocoder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public class MBPlacemark: NSObject, NSCopying, NSSecureCoding {
132132
private var featureJSON: NSDictionary?
133133

134134
required public init?(coder aDecoder: NSCoder) {
135-
featureJSON = aDecoder.decodeObjectOfClass(NSDictionary.self, forKey: "featureJSON") as NSDictionary!
135+
featureJSON = aDecoder.decodeObjectOfClass(NSDictionary.self, forKey: "featureJSON") as NSDictionary?
136136
}
137137

138138
public override init() {

0 commit comments

Comments
 (0)