We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wanna change arrow tintClor like below. but crashed at self.menuArrow.tintColor = color
self.menuArrow.tintColor = color
error message is Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
here is my code
private var menuView: BTNavigationDropdownMenu! private func setupDropDownMenu() { let items = Artist.allCases.map { $0.rawValue } menuView = BTNavigationDropdownMenu(navigationController: self.navigationController, containerView: self.navigationController!.view, title: items.first!, items: items) menuView.cellHeight = 45 menuView.arrowPadding = 15 menuView.animationDuration = 0.4 menuView.cellBackgroundColor = .white menuView.cellTextLabelColor = .black menuView.cellTextLabelFont = UIFont.boldSystemFont(ofSize: 14) menuView.shouldKeepSelectedCellColor = true menuView.cellTextLabelAlignment = .left menuView.cellSelectionColor = .systemGray2 menuView.checkMarkImage = nil //menuView.arrowTintColor = .white menuView.didSelectItemAtIndexHandler = { [weak self] index in self?.selectedArtist = Artist.allCases[index] self?.pagingViewController.reloadData() } self.navigationItem.titleView = menuView }
please help me!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I wanna change arrow tintClor like below. but crashed at
self.menuArrow.tintColor = color
error message is
Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
here is my code
please help me!
The text was updated successfully, but these errors were encountered: