button is already a NavigationBarButton, see previous docs at: http://docs.appgyver.com/en/edge/steroids_Steroids%20Native%20UI_Steroids.view.navigationBar_navigationBar.setButtons.md.html#steroids.view.navigationBar.setButtons