在我的應用我有一個NSOutlineview這是越來越刷新過於頻繁,崩潰,得到以下堆棧跟蹤 Exception Name: NSInternalInconsistencyException
Description: (null) should not be expanded already!
User Info: (null)
0 CoreFoundation 0x00007ff
我必須添加一個源列表(àla iTunes)到我的Mac應用程序。爲此,我嘗試(SidebarDemo from Apple)。它工作正常。我在此演示中添加了一個按鈕,以演示reloadData方法對NSOutlineView的影響。正如你在圖像中看到的那樣,在reloadData呼叫之前,在左邊,在reloadData之後,在右邊,有一個問題。徽章消失,圖標變化等。 問題是什麼?我是否應該避免在