I'm a little lost in the Cocoa world of resizing things. I've got an NSMatrix (actually a CustomView whose class is set to NSMatrix and then I initialize it in code) embedded within an NSScrollView. Of course this sits within a regular NSWindow. I've got the NSScrollView sizing stuff setup properly in Interface Builder so that when I resize the window, the NSScrollView resizes accordingly.
What I want to do is programmatically resize the NSMatrix and then make the other "superviews" aware of this change and resize accordingly. What's the best strategy for this to get the NSMatrix, NSScrollView and NSWindow all to resize to the proper size?
Thanks!