• 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
Re: just don't get it...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: just don't get it...


  • Subject: Re: just don't get it...
  • From: Andy Lee <email@hidden>
  • Date: Thu, 17 Jul 2008 17:34:30 -0400

On Jul 17, 2008, at 5:24 PM, Nick Zitzmann wrote:
On Jul 17, 2008, at 3:14 PM, James Maxwell wrote:

Sorry folks, but there are things about IB that just don't make sense to me.

How on earth to I communicate with an object that has been instantiated by Interface Builder???


Declare an IBOutlet pointer connecting an instantiated class to the instantiated object. Then read the instantiated class's header file into IB, which is normally done automatically, but you may have to do it manually if you're working on a framework.

Except in this case James said he has an AppController, which is presumably in MainMenu.nib.


I'm not familiar with document-based apps, but I suspect that rather than establish an outlet connection the AppController's code needs to call some sort of method that refers to the currently active document, maybe by sending a -document message to the active window's delegate.

--Andy


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >just don't get it... (From: James Maxwell <email@hidden>)
 >Re: just don't get it... (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: just don't get it...
  • Next by Date: Re: just don't get it...
  • Previous by thread: Re: just don't get it...
  • Next by thread: Re: just don't get it...
  • Index(es):
    • Date
    • Thread