TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Sep 2016 |
Maintained by MaxPetrovsky.
Support for views loaded from NIB/XIB files from code and interface builder. Respects IBInspectable / IBDesignable options. Inspired by https://github.com/konoma/nib-loaded-views.
To run the example project, clone the repo, and run pod install
from the Example directory first.
RMNibLoadedView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "RMNibLoadedView"
Create a view subclass of RMNibLoadedView .If you want to view be watchen in storyboards add IB_DESIGNABLE tag before @inteface CustomView :RMNibLoadedView. Create a xib which will have views. By default RMNibLoadedView loads xib with the class name in class bundle and using first view. You can customize it by changing nibName and nibViewIndex in interface builder or from code.
Maks Petrovsky, [email protected]
RMNibLoadedView is available under the MIT license. See the LICENSE file for more info.