kitasuke / PagingMenuController

Paging view controller with customizable menu in Swift
MIT License
2.5k stars 449 forks source link

fileprivate var focusMode: MenuFocusMode is ignored /swift 3/ 1OS 10.2 #327

Closed vindicatesociety closed 7 years ago

vindicatesociety commented 7 years ago

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()] } }

screen shot 2017-01-29 at 9 55 11 am
kitasuke commented 7 years ago

Can you take a look at example project? It works fine.

kitasuke commented 7 years ago

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.