XXNibBridge
Installation
pod 'XXNibBridge', '~> 2.3.0'
or pod search XXNibBridge
to check
Overview
XXNibBridge
bridges xib
file to storyboards or another xib file
Design time:
Runtime:
How to use
-
Build your view class and its xib file. (Same name required)
-
Put a placeholder view in target IB (xib or storyboard), Set its class.
-
Conform to
XXNibBridge
and NOTHING to be implemented#import <XXNibBridge.h> @interface XXDogeView () <XXNibBridge> @end
How it works
中文介绍请见我的blog