Skip to content
UIKit and NSFoundation convenience categories and subclasses.
Objective-C C Other
Find file
Latest commit 2aa2691 @rivera-ernesto rivera-ernesto Update .travis.yml
Failed to load latest commit information.
Demo Update Demo
Library Fix deprecation warnings
Resources Update copyright
Source Remove superfluous method
Tests Bump version, update podspec
.gitignore Ignore *.xccheckout files
.travis.yml Update .travis.yml
LICENSE Update copyright
NBUKit.podspec Bump version
NOTICE Update copyright Bump version


Platform: iOS Version: 2.4.1 License: Apache 2.0 Dependency Status Build Status

UIKit and NSFoundation convenience categories and subclasses.

Uses NBUCore, supports NBULog.
Image Picker code moved to NBUImagePicker.


A demo project is included in the repository.



  • Convenience methods to parse NSArray objets, support subbundles in NSBundle and handle file URLs with NSFileManager.
  • Check properties, retrieve common application directories and save/retrieve values from NSUserDefaults and Keychanin with UIApplication.
  • Programatically send a message through the responder chain with UIResponder.
  • Size/origin setter/getter shortcuts, read-only properties to retrieve a UIView's view, navigation or tab controller.
  • UIButton protocol to freely switch between UIButton and UIBarButtonItem objects.
  • Adjust orientation, crop, resize, flatten, write and read UIImage objects.
  • Scroll a UIScrollView to any edge with/without animation.
  • Retrieve/change system UserAgent, fire JavaScript events and get the HTML title from UIWebView objects.
  • Navigation item IBOutlet and force refresh orientation method for UIViewController's.
  • Show/hide UITabBarController's tab bar.
  • Additional properties, dismiss and pop to view controller and to root controller methods for UINavigationController objects.

UIKit Subclasses

  • Block-based NBUActionSheet and NBUAlertView.
  • NBUBadgeView and NBUBadgeSegmentedControl.
  • Block-based NBUMailComposeViewController that can be initialized with a mailto: URL.
  • Interface Builder-focused NBURefreshControl.
  • NBUTabBarController with customizable position and UITabBar.
  • NBUView with commonInit, and view controller-like view will/did appear/disappear methods.
  • NBUViewController with commonInit and supportedInterfaceOrientations writable property.
  • More...


For now add the following to your CocoaPods' Podfile:

platform :ios, '5.0'

pod 'NBUKit'

# Optional for dynamic logging
pod 'NBULog'

# Optional for on-device log console
pod 'LumberjackConsole'



Copyright 2012-2014 CyberAgent Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. 
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.
Something went wrong with that request. Please try again.