Skip to content

Instantly share code, notes, and snippets.

@kylesluder
Created October 4, 2012 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kylesluder/3835936 to your computer and use it in GitHub Desktop.
Save kylesluder/3835936 to your computer and use it in GitHub Desktop.
Split View Frame Sizing
On 10.7.5:
>>> -[<NSView: 0x108064e50> resizeWithOldSuperviewSize:] superview from {543, 475} to {543, 515}
>>> -[<NSView: 0x108064e50> setFrame:] from {{0, 0}, {543, 453}} to {{0, 0}, {543, 493}}
>>> -[<NSView: 0x108064e50> setFrameSize:] from {543, 453} to {543, 493}
>>> -[<NSView: 0x108064e50> resizeSubviewsWithOldSize:] from {543, 453} to {543, 493}
>>> -[<NSSplitView: 0x10806cb10> resizeWithOldSuperviewSize:] superview from {543, 453} to {543, 493}
>>> -[<NSSplitView: 0x10806cb10> setFrame:] from {{0, 0}, {543, 453}} to {{0, 0}, {0, 0}} /*** WTF??? ***/
>>> -[<NSSplitView: 0x10806cb10> setFrameSize:] from {543, 453} to {0, 0}
>>> ... and so on, causing an eventual constraint violation ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment