I am having a problem with the tapThrough functionality of the tabBar. Allowing tapThrough on a tabBar creates the following error:
"Directly modifying a tab bar managed by a tab bar controller is not allowed'
Here is the code I've used in the past to select a tabBar index:
self.tabBarController?.selectedIndex = 2
But here is the code in the MaterialShowcase.swift:
onTapThrough = { tabBar.selectedItem = tabBar.items?[itemIndex] }
I believe I need to pass the tabBarController and will need a new constructor to do so as discussed here: #112 (comment)