• Stars
    star
    567
  • Rank 78,634 (Top 2 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 10 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Bridge xib file into another xib or storyboard

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