 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 section1 = ["Int Array",  "String Array", "Int Array（All selectable）"]
+    var section2 = ["Enum",  "Enum（All selectable）"]
+    var section3 = ["UIBarButtonItem"]
+
+    var selectedIntKey: Int? = nil
+    var selectedStringKey: String? = nil
     var selectedFoodName: FoodName?
 
     @IBOutlet weak var baseTextView:UITextView?

        if section == 0 {
            return section1.count
        } else if section == 1 {
                return section2.count
        } else {
            return 0
        }

        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 {
