sunnyxx / XXNibBridge

Bridge xib file into another xib or storyboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Bridge xib file into another xib or storyboard

License:MIT License


Languages

Language:Objective-C 89.6%Language:Ruby 10.4%