     var setCount: Int = 0
     
     /**
-    ...
+    Custom initializer - initializes the menu and creates all its subviews. If delegate isn't set the cells will be empty.
+    
+    :param: frame Default Cocoa API - The frame rectangle for the view, measured in points.
+    :param: itemCount Expected number of items. Their size is calculated proportionally
+    :param: delegate Delegate object that will determine appearance of the items in the menu and handle their events.
     */
     convenience init(frame: CGRect, itemCount: Int, delegate: T2GNavigationBarMenuDelegate?) {
         self.init(frame: frame)

    }
    
    /**
    ...
    
    :param: sender
    */
    func buttonClicked(sender: T2GColoredButton) {
        self.delegate?.didSelectButton(sender.tag)
    }
}

            }
            self.addSubview(button)
            
            /// separators
            if index + 1 < itemCount {
                let offset: CGFloat = 30.0
                let line = UIView(frame: CGRectMake(offset, button.frame.origin.y + button.frame.size.height, button.frame.size.width - offset, 1))
