Objective-C component that adds menu to the navigation bar