         Current installed version of your app
      */
     private var currentInstalledVersion: String? = {
-        return Bundle.main.objectForInfoDictionaryKey("CFBundleShortVersionString") as? String
+        return Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
     }()
 
     /**


        components.queryItems = items

        guard let url = components.url, let urlString = url.absoluteString, !urlString.isEmpty else { // https://openradar.appspot.com/25382891
            throw SirenErrorType.malformedURL
        }

        return url

/**
 Siren-specific Error Throwable Errors
 */
private enum SirenError: Error {
    case malformedURL
    case missingBundleIdOrAppId
}
