Hello,
I'm trying to do something simple, I have a NSWindow containing a
NSTableView that resizes with the with the window. When I click on one
element I want to display additional information in a subView that I'm
adding with [[theWindow contentView] addSubview:infoView];
The problem is
Consider using NSDrawer. It can contain a content view (i.e. your info
view) and can be attached to any side of a parent window, and be shown
or hidden.
If you don't want to use this, however, just grab the content view's
frame,
NSRect r = [[window contentView] frame]
and then call: