     return serializedData!.writeToFile(destinationPath, atomically: true)
 }
 
-func convertXcodeThemeToCotEditor(xcodeTheme: NSDictionary) -> Dictionary<String, AnyObject>? {
+func convertXcodeThemeToCotEditor(xcodeTheme: NSDictionary) -> [String: AnyObject]? {
     let syntaxColors = xcodeTheme["DVTSourceTextSyntaxColors"] as? [String:NSString]
     
     if syntaxColors == nil {

            return nil
        }
        
        let colorString: NSString = source[xcodeKey] as NSString
        let color = convertColorStringToColor(colorString)
        
        if color == nil {

    return pList
}

func saveTheme(theme: [String: AnyObject], toPath path: String) -> Bool {
    var error: NSError?
    let serializedData: NSData? = NSJSONSerialization.dataWithJSONObject(
        theme,
