 }
 
 @objc public protocol EGMenuBarDelegate: class {
-    optional func didSelectItemAtIndex(menuView: EGMenuBar, index: Int)
-    optional func interItemSpacing(menuView: EGMenuBar) -> Double // TODO: Make this optional
+    optional func didSelectItemAtIndex(menuBar: EGMenuBar, index: Int)
+    optional func interItemSpacing(menuBar: EGMenuBar) -> Double
     optional func itemHeight(menuBar: EGMenuBar) -> Double
 }
 

    // MARK: - Helper Methods
    
    private func setupMenuView() {
        print("setup")
        if let height = delegate?.itemHeight?(self) {
            print("height: \(height)")
            itemHeight = CGFloat(height)
        }
        if let spacing = delegate?.interItemSpacing?(self) {
            print("spacing: \(spacing)")
            interItemSpacing = CGFloat(spacing)
        }
        if let numberOfItems = datasource?.numberOfItems() {


extension EGMenuBar: EGMenuBarItemDelegate {
    func didSelectItemAtIndex(index: Int) {
        delegate?.didSelectItemAtIndex!(self, index: index)
    }
}






