In NSSplitView really as broken as I think it is?
Working in Cocoa is fun, until you make the mistake of trying to use AppKit. Today I ran into an bug that perfectly illustrates how high the AppKit team was when they wrote this stuff.. (I’m obviously working on the wrong team!)
Someone please reproduce this and let me know if this is for real, or if it’s just me.. Start with a window in Interface Builder, and put two things in it. Make them autosize horizontally, and make the two things a subview of an autosizing NSSplitView. Now Your window will look like this:

Now *quickly* resize your window to be wider. It should now look like this:

Notice how the left and right sides of the NSSplitView resize unevenly? Wait, it gets worse…. much worse. Start again with your original window, but this time resize the window *slowly*..

That’s right folks. While my team was pulling several years of all-nighters, these AppKit guys were spending Steve’s money on blow and strippers. When something is this broken, you don’t write up Radars, you write blog posts and then cry yourself to sleep..
Filed under: all talk, no code · 2 Comments

IMO, I think you’re the one that’s high. Just setting this up in IB isn’t necessarily going to get you what you want. Add the resize code, and also play around with the resize methods in IB.