Append to array in swift - has no member append?
<p>What am I doing wrong in this code?</p>

<p>and why do I get the error ?</p>

<blockquote>
  <p>"Value of type 'NSMutableArray' has no member 'append'"</p>
</blockquote>

<pre><code>    static func saveUserData()
    {
        let item:NSDictionary = ["TIME":"12:00","LOCATION":"here"]
        let paths = NSSearchPathForDirectoriesInDomains(.DocumentDirectory, .UserDomainMask, true)
        let documentsDirectory = paths[0]
        let filePath = documentsDirectory + "/datafile.dat"
        var readArray:NSMutableArray? = NSMutableArray(contentsOfFile: filePath)

        if var array = readArray {

            print("loaded array - appending..." )

           // PROBLEM IS HERE 
             var damnArray:NSMutableArray = array
             damnArray.append(item)
         } else {
           //
         }
    }
</code></pre>