Skip to content
Easily create a reusable xib and class to put anywhere.
Swift Objective-C Shell Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Language CI Status Version Carthage compatible License


  1. Create a subclass of NBLoadableFromXibView
  2. Create a XIB file and set it's owner to the subclass you just created
  3. Design the xib just as you want, drag outlets, the normal stuff.
  4. Either add the view via code, or through the storyboard.

See the example project if you have any trouble.

To run the example project, clone the repo, and run pod install from the Example directory first.



CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate NBLoadableFromXibView into your Xcode project using CocoaPods, specify it in your Podfile:

source ''
platform :ios, '8.0'

pod 'NBLoadableFromXibView', '~> 0.1.0'

Then, run the following command:

$ pod install


Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate NBLoadableFromXibView into your Xcode project using Carthage, specify it in your Cartfile:

github "tskulbru/NBLoadableFromXibView" ~> 0.1.0

Run carthage update to build the framework and drag the built NBLoadableFromXibView.framework into your Xcode project.


Torstein Skulbru


NBLoadableFromXibView is available under the MIT license.

See the LICENSE file for more info.

You can’t perform that action at this time.