DMSplitView
DMSplitView copied to clipboard
Splitview inconsistent state error when using autoSaveName to restore state of split view
When you set an autoSaveName for the split view, collapse a view, then quit and re-launch the app, the following error is displayed:
<DMSplitView: 0x100192e20>: the delegate <DMSplitView: 0x100192e20> was sent -splitView:resizeSubviewsWithOldSize: and left the subview frames in an inconsistent state: Split view bounds: {{0, 0}, {816, 337}} Subview frame: {{0, 0}, {100, 337}} Subview frame: {{110, 0}, {644, 337}} Subview frame: {{764, 0}, {152, 337}} DMSplitViewExample[41225:303] The outer edges of the subview frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
The same thing is happening in my app as happens in the example app.
Are there any updates to this, or was a fix found?
No idea. I moved on and I'm using AutoLayout with regular NSSplitViews now. I no longer use DMSplitView. And I don't see that error anymore.