UIButton with IB_DESIGNABLE throws runtime attribute warning and does not render in Interface Builder

前端 未结 7 626
耶瑟儿~
耶瑟儿~ 2021-01-30 12:59

I\'m running Xcode 6.1 and I have been using IB_DESIGNABLE with IBInspectable for quite a few projects already but all of the sudden it just doesn\'t work anymore. I have create

7条回答
  •  深忆病人
    2021-01-30 13:46

    How I personally fixed this:

    In the identity inspector in User Defined Runtime Attributes I noticed that I had an old IB_Inspectable element that I had deleted from my code, but it was still in there. Removing it with the - button got rid of this error.

提交回复
热议问题