• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
how do I access another Nib's controller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: how do I access another Nib's controller?
      • From: Mark Ritchie <email@hidden>
  • Prev by Date: Re: Creating a bitmap of a scaled-down NSImage
  • Next by Date: Re: how do I access another Nib's controller?
  • Previous by thread: Re: Creating a bitmap of a scaled-down NSImage
  • Next by thread: Re: how do I access another Nib's controller?
  • Index(es):
    • Date
    • Thread