 
         let indicateSelected = { (manager: TabManager?, selected: Bool) in
             guard let manager = manager else { return }
-            manager.tab.delegate?.tabBarView(self, tab: manager.tab, shouldIndicateSelected: selected)
+            manager.tab.delegate?.tabBarView(self, shouldIndicate: manager.tab, isSelected: selected)
         }
 
         indicateSelected(currentTabManager, false)


        public var tag: String
        public var view: UIView
        public var delegate: TabBarViewItemDelegate?

        public init(tag: String, view: UIView, delegate: TabBarViewItemDelegate? = nil) {
            self.tag = tag
            self.view = view
            self.delegate = delegate ?? (view as? TabBarViewItemDelegate)
        }

        // MARK: Hashable conformance


// MARK: - TabBarViewItemDelegate

public protocol TabBarViewTabDelegate {

    func tabBarView(_ tabBarView: TabBarView, shouldIndicate tab: TabBarView.Tab, isSelected selected: Bool)
}
