@IBDesignable crashing agent

前端 未结 10 921
自闭症患者
自闭症患者 2020-11-29 02:59

When I write my own UIButton-extended class and make it @IBDesignable, I receive two errors in Interface Builder, namely:

  • Main.storyb
10条回答
  •  南笙
    南笙 (楼主)
    2020-11-29 03:40

    There are a myriad of problems that can cause this. Fire up Console, and look for the crash report IBDesignablesCocoaTouch...

    I just sorted out a problem with a 3rd party designable which had issues with the valueForKey semantics.

提交回复
热议问题