         case Every_Year = "Every Year"
 
         var description : String { return rawValue }
-
-        static let allValues = [Never, Every_Day, Every_Week, Every_2_Weeks, Every_Month, Every_Year]
-    }
-
-    enum EventAlert : String, CustomStringConvertible {
+    }
+
+    enum EventAlert : String, CaseIterable, CustomStringConvertible {
         case Never = "None"
         case At_time_of_event = "At time of event"
         case Five_Minutes = "5 minutes before"


            PushRow<RepeatInterval>("Repeat") {
                $0.title = $0.tag
                $0.options = RepeatInterval.allValues
                $0.value = .Never
                }.onPresent({ (_, vc) in
                    vc.enableDeselection = false

        (navigationController as? NativeEventNavigationController)?.onDismissCallback?(self)
    }

    enum RepeatInterval : String, CaseIterable, CustomStringConvertible {
        case Never = "Never"
        case Every_Day = "Every Day"
        case Every_Week = "Every Week"
