我得到一個警告,我不完全理解我每次運行我的應用程序:自動佈局警告在Mac OS X
Layout still needs update after calling -[WebHTMLView layout]. WebHTMLView or one of its superclasses may have overridden -layout without calling super. Or, something may have dirtied layout in the middle of updating it. Both are programming errors in Cocoa Autolayout. The former is pretty likely to arise if some pre-Cocoa Autolayout class had a method called layout, but it should be fixed.
(我已經看到了這個related question,但所提供的答案來解決一些其他問題,因此我的問題。)一旦我添加一個Web視圖到我的應用程序,就會出現警告。這是什麼意思,我該如何解決這個問題?
這裏有雷達物品嗎? – adib 2012-07-01 10:57:01
我在拖拽一個項目的時候用一個簡單的NSTableView獲得了它。我沒有實現任何佈局方法。所以這漂亮的氣味就像蘋果的Swifty Cocoa實現中的一個bug。雷達?我猜不會。我仍然有超過半打打開的編譯器bug報告,甚至沒有被Apple觸及:-( – 2014-12-29 20:49:41