XXNibBridge icon indicating copy to clipboard operation
XXNibBridge copied to clipboard

Bridge xib file into another xib or storyboard

Results 16 XXNibBridge issues
Sort by recently updated
recently updated
newest added

Adds `Package.swift` file and umbrella header which enables usage with SPM. **Note**, that the most correct usage with SPM will be possible only when there is new release that includes...

今天遇到这个问题,好一顿定位,记录一下解决办法,供后人参考。 出现这个问题一般是粗心所致,以TestView.xib为例,有此问题时请检查一下你是不是在TestView.xib中将File's owner 的Custom Class 设置为了TestView,正确的设置是将xib中的root View 的Custom Class 设置为TestView,重新设置后更新一下IBOutlet与IBAction,应该就能解决这个问题。 另外要注意重新设置后 File's owner 的Custom Class 要重置为空,要不然还是有同样的报错。

做为代码强迫症的我不能接受有Warning👻

XXDogeView *view = [[XXDogeView alloc] initWithFrame:CGRectMake( 100, 100, 100, 100)]; [self.view addSubview:view]; 例如这种方式是不是就不行?

在2.3.0版本中,程序运行时 IBOutlet weak NSLayoutConstraint 的属性为nil,为strong时改变约束的值不起作用。

since version 2.3 ,if some of one view's subviews is Custom,the property IBOutlet NSLayoutConstraint width or height will be nil,if i change the property to strong, it will not work...

iOS10 崩溃 用到该库的地方崩溃

UICollectionview的RefuseView中的子View用了桥接,结果崩溃在equeueReusableSupplementaryView这个方法,后来在copy约束这里加了子线程就好了,应该是约束在遍历和添加新约束时再加上collectionview刷新造成一些线程问题,本人是菜鸟,还请大神有时间看一下 ``` if (placeholderView.constraints.count > 0) { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ // We only need to copy "self" constraints (like width/height constraints) // from placeholder to real view for (NSLayoutConstraint *constraint...