Skip to content

Commit

Permalink
fix up optional use
Browse files Browse the repository at this point in the history
  • Loading branch information
incanus committed Oct 8, 2015
1 parent 578df1d commit f172155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MBGeocoder/MapboxGeocoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public class MBPlacemark: NSObject, NSCopying, NSSecureCoding {
private var featureJSON: NSDictionary?

required public init?(coder aDecoder: NSCoder) {
featureJSON = aDecoder.decodeObjectOfClass(NSDictionary.self, forKey: "featureJSON") as NSDictionary!
featureJSON = aDecoder.decodeObjectOfClass(NSDictionary.self, forKey: "featureJSON") as NSDictionary?
}

public override init() {
Expand Down

0 comments on commit f172155

Please sign in to comment.