     public weak var delegate: JumpBarControlDelegate? = nil
     public private(set) var selectedIndexPath: NSIndexPath? = nil
     
-    private var changeFontAndImageInMenu: Bool = false
     private var hasCompressedSegments: Bool = false
     private var isSelected: Bool = false
     

        
        if self.menu?.itemArray.count > 0 {
            self.selectedIndexPath = NSIndexPath(index:0);
        }
        
        if self.menu != nil && self.changeFontAndImageInMenu {
            self.changeFontAndImageInMenu(self.menu!);
        }
        
        self.layoutSegments();

        return segmentControl
    }
    
    private func segmentControls() -> Array<JumpBarSegmentControl> {
        return self.subviews.filter({ $0.isKindOfClass(JumpBarSegmentControl) }) as! Array<JumpBarSegmentControl>
    }
