how do I access another Nib's controller?
how do I access another Nib's controller?
- Subject: how do I access another Nib's controller?
- From: Theodore Petrosky <email@hidden>
- Date: Mon, 26 Mar 2007 19:28:29 -0700 (PDT)
ok... I am loading a nib like this:
if([NSBundle loadNibNamed:@"JobManagement" owner:self]
== NO){
NSLog(@"Warning - failed to load NibWithSheet
file!");
} else {
NSLog(@"we loaded the nib and set the
newJobViewSize");
newJobViewSize = [newJobView frame].size;
[newJobView setViewName:@"newJobView"];
}
I am toying with using a separate Controller in this
second nib, but I haven't figures out how to talk to
it. I need to pass in a few ivars.
If I change owner:self] to owner:@"TheController"]
(and TheController is the controller I want to talk
to), how do I talk to it.
Thanks,
Ted
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden