Re: Linking xib's

2009-12-17 Thread Charlie Dickman
I have discovered the answer. The controller knows about the view without me doing any linkage. It is referenced using [self view] in the controller. On Dec 17, 2009, at 4:07 PM, Shawn Erickson wrote: > On Thu, Dec 17, 2009 at 12:46 PM, Charlie Dickman <3tothe...@comcast.net> > wrote: > >> Th

Re: Linking xib's

2009-12-17 Thread Shawn Erickson
On Thu, Dec 17, 2009 at 12:46 PM, Charlie Dickman <3tothe...@comcast.net> wrote: > The question is how do I provide this linkage when the controller and the > view are in _different_ xib's? Who is the "owner" (aka loader) of the two xibs? If it is the same owning object then just hook up the out

Re: Linking xib's

2009-12-17 Thread Charlie Dickman
OK. From the controller I want to invoke a method in the view. In the controller I declare an id called myView... id myView; In the Controller's "didReceiveMemoryWarning I want to call a method in the view thusly... [myView cleanMemory]; The question is how does the id myView get the ad

Re: Linking xib's

2009-12-17 Thread Quincey Morris
On Dec 16, 2009, at 13:20, Charlie Dickman wrote: > When the didReceiveMemoryWarning notification is sent to the controller I > want to invoke a method in the main view. This means linking an IBOutlet in > the controller (which has its own xib) to a method defined in the view (which > has its o

Linking xib's

2009-12-17 Thread Charlie Dickman
I'm developing an iPhone app that has 2 xib's; 1 for the controller and 1 for the main window. This structure is based on that recommended in the "Beginning iPhone Development" book. When the didReceiveMemoryWarning notification is sent to the controller I want to invoke a method in the main vi