Closed vindicatesociety closed 7 years ago
Can you take a look at example project? It works fine.
The example project works on iOS 10.2 in Swift 3. Can you follow same way just like example project? Please reopen this issue if it still doesn't work.
fileprivate struct MenuOptions: MenuViewCustomizable { fileprivate var backgroundColor: UIColor{ return UIColor(colorWithHexValue: 0x1F242C, alpha: 1) } fileprivate var selectedBackgroundColor: UIColor{ return UIColor(colorWithHexValue: 0x1F242C, alpha: 1) } fileprivate var focusMode: MenuFocusMode{ return .underline(height: 3, color: UIColor.red, horizontalPadding: 0, verticalPadding: 0) } var displayMode: MenuDisplayMode { return .segmentedControl } var itemsOptions: [MenuItemViewCustomizable] { return [MenuItem1(), MenuItem2(), MenuItem3()] } }