         self.popOverViewController = PopOverViewController.instantiate()
 
         self.popOverViewController?.setEnumForView(delegate: self, view: view, enumType: FoodName.self, defaultEnum: selectedFoodName, allName: allName, onSelected: { (key, index) in
+            print("key is  \(String(describing: key)) , index is  \(index) ")
+
             if index == 0 {
                 self.selectedFoodName = nil
             } else {

class RootViewController: UITableViewController, UIAdaptivePresentationControllerDelegate {

    var popOverViewController: PopOverViewController?
    var section1 = ["Array", "Enum", "Array（All selectable）", "Enum（All selectable）"]
    var section2 = ["UIBarButtonItem"]

    var selectedKey: Int? = nil
    var selectedFoodName: FoodName?

    @IBOutlet weak var baseTextView:UITextView?

            let text = section1[indexPath.row]
            cell.textLabel!.text = text
            return cell
        } else if indexPath.section == 1 {
            let cell = tableView.dequeueReusableCell(withIdentifier: "TextCell", for: indexPath)

            let text = section2[indexPath.row]
            cell.textLabel!.text = text
            return cell
        } else if indexPath.section == 1 {
            let cell = tableView.dequeueReusableCell(withIdentifier: "MoveCell", for: indexPath)

            let text = section3[indexPath.row]
            cell.textLabel!.text = text
            return cell
        }

        return UITableViewCell.init()
    }

    override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        let cell = tableView.cellForRow(at: indexPath)
        guard let contentView = cell?.contentView else {
            return
        }

        if indexPath.section == 0 {
            if indexPath.row == 0 {
                openIntArrayMenu(view: contentView)
            } else if indexPath.row == 1 {
                openStringArrayMenu(view: contentView)
            } else if indexPath.row == 2 {
                openIntArrayMenu(view: contentView, allName: "All")
            }
        } else if indexPath.section == 1 {
            if indexPath.row == 0 {
                openEnumMenu(view: contentView)
            } else if indexPath.row == 1 {
                openEnumMenu(view: contentView, allName: "All")
            }
        }
