I have an NSOutlineView, with its content bound to an appropriate NSTreeController. It works perfectly well, except when my app loads, only about half of the content of the NSOutlineView displays.
If I cmd+tab away and back, all the content displays. If I click the blank rows where I know there should be content, the text in the row I clicked suddenly appears. So the content's there, it's just not refreshing properly. I guess I need to send the NSOutlineView a needsDisplay message or something similar, but I'm not quite sure where.
This seems pretty illogical to me - the NSOutlineView should surely be able to display its content properly when bound. Is there something obvious that I'm missing?