Skip to content

liutongchao/LCNibBridge

Repository files navigation

LCNibBridge

Swift 动态桥接库

#Installation pod 'LCNibBridge', '~> 1.2.3'

or pod search LCNibBridge to check

#Overview Design

Design

Runtime

Runtime

#How to use

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

class

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

class

3.Conform to LCNibBridge protocol

  import UIKit
  import LCNibBridge

  class Test: UIView ,  LCNibBridge{

  }

###如果你在天朝,请看我的中文博客

http://www.jianshu.com/p/d39f19d60544