Get Updates By E-mail 

Article Written By:
Johann Dowa

ATNavBarButton – iOS Component For Simpler Navigation Bar Buttons With More Customization Options

  •  
  •  
  •  
  •  
  •  

ATNavBarButton is an open source component from Apptality providing a UIBarButton subclass that simplifies changing bar button icons, and handling actions including a number of custom buttons.

ATNavBarButton includes 35 FontAwesome icons which are vector based so they will work on all iOS screen sizes (you can use your own images), you can easily change the colors of the nav bar buttons, use indicator views as your nav bar buttons, and more.

This code snippet shows how to set up some custom nav bar buttons:

- (void)viewDidLoad
{
[super viewDidLoad];
[self.navigationItem setLeftBarButtonItem:[ATNavBarButton setBarButton:ATNavBarButtonUser withDelegate:self]];
[self.navigationItem setRightBarButtonItem:[ATNavBarButton setBarButton:ATNavBarButtonSettings withDelegate:self]];
}

And the resulting nav bar:


ATNavBarButton

You can find ATNavBarButton on Github here.

A nice library for customizing navigation bar buttons.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments