         }
 
         // if we have a global set to not show if the end-user has already rated once, and the developer has not opted out of displaying on minor updates
-        var ratedAnyVersion = userDefaultsObject?.boolForKey(keyForArmchairKeyType(ArmchairKey.RatedAnyVersion))
+        let ratedAnyVersion = userDefaultsObject?.boolForKey(keyForArmchairKeyType(ArmchairKey.RatedAnyVersion))
         if let ratedAlready = ratedAnyVersion {
             if (!shouldPromptIfRated && ratedAlready) {
                 return false


#elseif os(OSX)
    
        var alert: NSAlert = NSAlert()
        alert.messageText = reviewTitle
        alert.informativeText = reviewMessage
        alert.addButtonWithTitle(rateButtonTitle)

        }

        // Get the version number that we've been tracking thus far
        let currentVersionKey = keyForArmchairKeyType(ArmchairKey.CurrentVersion)
        var trackingVersion: String? = userDefaultsObject?.stringForKey(currentVersionKey)
        // New install, or changed keys
        if trackingVersion == nil {
            trackingVersion = currentVersion
            userDefaultsObject?.setObject(currentVersion, forKey: currentVersionKey)
        }
