Interface Builder can't see classes in a static library

前端 未结 4 786
甜味超标
甜味超标 2020-12-28 19:31

I have refactored some UIView sub-classes into a static library. However, when using Interface Builder to create view components for a project that uses the static library I

4条回答
  •  伪装坚强ぢ
    2020-12-28 20:23

    Try dragging the static library into your xib browser in Interface Builder. I haven't tried this with a static library, but the concept is the same. When you drag header files into IB, you can access those classes.

提交回复
热议问题