                     dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'"
                     let dateStart = dateFormatter.dateFromString(startDate)
                     let dateEnd = dateFormatter.dateFromString(endDate)
-            
+                    
                     dateFormatter.dateFormat = "MMM dd,YY"
                     
                     self.iterations.append(id: id, name: name, path: path, startDate: dateFormatter.stringFromDate(dateStart!), endDate: dateFormatter.stringFromDate(dateEnd!), url: url)

                dispatch_async(dispatch_get_main_queue(), {                                         //run in the main GUI thread
                    MBProgressHUD.hideAllHUDsForView(self.view, animated: true)
                })

            }
            break
            

        case DisplayedMenu.Current:
            titleText = self.iterations[indexPath.row].name
            detailText = NSString(format: "%@ - %@", self.iterations[indexPath.row].startDate, self.iterations[indexPath.row].endDate) as String
            
            cell!.accessoryType = UITableViewCellAccessoryType.None
            break
        case DisplayedMenu.Future:
            titleText = self.iterations[indexPath.row].name
            detailText = NSString(format: "%@ - %@", self.iterations[indexPath.row].startDate, self.iterations[indexPath.row].endDate) as String
            
            cell!.accessoryType = UITableViewCellAccessoryType.None
            break
            
