Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 1.13 KB

README.md

File metadata and controls

49 lines (27 loc) · 1.13 KB

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

  1. Build your view class and its xib file. (Same name required)

  2. Put a placeholder view in target IB (xib or storyboard), Set its class.

  3. Conform to XXNibBridge and NOTHING to be implemented

        #import <XXNibBridge.h>
        @interface XXDogeView () <XXNibBridge>
        @end

Done:

How it works

中文介绍请见我的blog