                 array = plist.mutableCopy() as NSMutableDictionary
 
                 array.setObject(newValue, forKey: forKey)
-                
+                array.writeToFile(path, atomically: true)
             }
             
         } else {

                NSLog("NRSimplePlist - Error READING plist file '\(path)', error = '\(error)'")
            }
            
            tipo = plist.valueForKey(key) as String // ojectForKey(key) as NSString
            
            return tipo
            

//
//  NRswiftPlist.swift
//
//  Created by Norman Russo on 04/11/14.
//  Copyright (c) 2014 Norman Russo. All rights reserved.
