From: Tim P. <he...@ti...> - 2007-12-03 18:09:39
|
Evening All I just wondered what peoples thoughts are on distributing parts of applications into different nibs? I have been playing with NSView subclasses to read in various NIBs, which works without problem. However, I then started to wonder how you communicate between NIB files? For instance, in my particular circumstance, I have a complex outline view (one nib), then I wanted to put another pretty complex tab view system into another so as not to clutter things up in the main nib. However, the tab views are driven by the selection in the outline view.... Obviously I do not want to instantiate another controller in either component NIB, so im guessing its achieved using outlets to access the other object? Or would it be a case that the links would appear "broken" in IB, but when read it at run time as they would all be owned by the same NIB then get access to its objects? I appreciate this is more a design issue - it would be nice to hear peoples views/thoughts tho :) Cheers Tim |