     func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
 
         if let row = Row(rawValue: indexPath.row) {
+
             if case .PhotoGallery = row {
-                let cell = tableView.dequeueReusableCellWithIdentifier(quickPickPhotosCellID) as! QuickPickPhotosCell
+
+                let cell: QuickPickPhotosCell = tableView.dequeueReusableCell()
 
                 cell.alertCanNotAccessCameraRollAction = { [weak self] in
                     self?.alertCanNotAccessCameraRollAction?()

        view.rowHeight = 60
        view.scrollEnabled = false

        view.registerNib(UINib(nibName: self.quickPickPhotosCellID, bundle: nil), forCellReuseIdentifier: self.quickPickPhotosCellID)
        view.registerNib(UINib(nibName: self.titleCellID, bundle: nil), forCellReuseIdentifier: self.titleCellID)
        return view
    }()


        return view
    }()

    lazy var tableView: UITableView = {
        let view = UITableView()
        view.dataSource = self
