Skip to content

tskulbru/NBLoadableFromXibView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NBLoadableFromXibView

Language CI Status Version Carthage compatible License

Usage

  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.

Installation

CocoaPods

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 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'NBLoadableFromXibView', '~> 0.1.0'

Then, run the following command:

$ pod install

Carthage

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.

Author

Torstein Skulbru

License

NBLoadableFromXibView is available under the MIT license.

See the LICENSE file for more info.

About

Easily create a reusable xib and class to put anywhere.

Resources

License

Stars

Watchers

Forks

Packages

No packages published