Skip to content

Bridge xib file into another xib or storyboard

License

Notifications You must be signed in to change notification settings

quyixia/XXNibBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XXNibBridge

Overview

XXNibBridge bridges xib file to storyboards or another xib file

Design time:

Runtime:


How to use

  1. Build your class and it's xib file. (Same name required)

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

  3. Override a class method to turn on bridging.

        #import <XXNibBridge.h>
        @implementation XXDogeView
        + (BOOL)xx_shouldApplyNibBridging
        {
             return YES;
        }
        @end

Done:

How it works

中文介绍请见我的blog

About

Bridge xib file into another xib or storyboard

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 90.6%
  • Ruby 9.4%