Help us understand the problem. What is going on with this article?

「@IBDesignable error: IB Designables: Failed to update auto layout status:」が出た時の対処方法

More than 3 years have passed since last update.



@IBDesignable error: IB Designables: Failed to update auto layout status: Interface Builder Cocoa Touch Tool crashed


~/library/Logs/DiagnosticReports/ ディレクトリに吐き出されるクラッシュログを確認しました。



UITextViewを継承した独自クラスで、以下のメソッドを override していないのが原因でした。

public override init(frame: CGRect, textContainer: NSTextContainer?) {
        super.init(frame: frame, textContainer: textContainer)

継承が必須なものであるのなら、なぜ required が指定されていないんでしょうかね。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away