Array doesn't save swift : getting a Json Object from a rest web service i get the data from the object and i want to show it in a tableview

`class TableViewController1: UITableViewController {
    var nomProduit = ["ok"]
    var prixProduit = [""]
    var vt1 : String?
    var vt2 : String?
    
    var i : Int!
    var compteur1:Int!
    var resultat1:NSArray?
    var x : AnyObject?
    
    
    override func viewDidLoad() {
        
        
        super.viewDidLoad()
       // \(detectionString)
        let str:String = "http://vps43623.ovh.net/yamoinscher/api/products/6194005492077"
        let url = NSURL(string: str)!
        
        let task = NSURLSession.sharedSession().dataTaskWithURL(url) { (data, response, error) -> Void in
            
            
            
            
            if let urlContent = data {
                
                do {
                    
                    let jsonResult = try NSJSONSerialization.JSONObjectWithData(urlContent, options: NSJSONReadingOptions.MutableContainers)
                    
                    
                    self.resultat1 = jsonResult["meme_categorie"] as? NSArray
                    
                    self.compteur1 = self.resultat1!.count
                    print(self.compteur1!)
                     //self.value = (compteur1 as? Int)!
                    
                    for  self.i=0 ; self.i < self.compteur1! ; self.i = self.i+1  {
                    if let aStatus = self.resultat1![self.i] as? NSDictionary{
                        self.vt1 = aStatus["libelle_prod"]! as? String
                        self.nomProduit.append(self.vt1!)
                        self.vt2 = aStatus["prix"]! as? String
                        self.prixProduit.append(self.vt2!)
                        //print(self.nomProduit[self.i])
                        

                    }
                       
                    }
                  
                    
                } catch {
                    
                    print("JSON serialization failed")
                    
                }
                
                
            }
            
            
        }
        
        task.resume()
        
        
    }` 


Then My problem is that this array stays nil `self.prixProduit.append(self.vt2!)` 

here is the rest of my  code 

override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
        return 1
    }
    
    override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        
        return 17
    }
    
    
    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        
        let cell = tableView.dequeueReusableCellWithIdentifier("cell1", forIndexPath: indexPath) as! customCell1
        
         //   cell.PrixSim.text = nomProduit[indexPath.row]
        
        
        print(self.nomProduit[0])
        
        
        
        return cell
    }