Latest 0.1.0
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit

CI Status
Carthage compatible


  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.

Latest podspec

    "name": "NBLoadableFromXibView",
    "version": "0.1.0",
    "summary": "Easily create a reusable xib and class to put anywhere.",
    "description": "Wouldnt it be cool if you could easily drop a UIView on your storyboard set its class and have it automatically loaded from another XIB file? Using this library you can do just that. You can easily create reusable components, just subclass NBLoadableFromXibView, create a XIB and set its file owner to the subclass.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Torstein Skulbru": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.0"
    "social_media_url": "",
    "platforms": {
        "ios": "8.0"
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "NBLoadableFromXibView": [
    "frameworks": "UIKit"

Pin It on Pinterest

Share This