• 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: "Shawn Erickson" <email@hidden>
  • Date: Thu, 17 Jul 2008 14:31:08 -0700

On Thu, Jul 17, 2008 at 2:14 PM, James Maxwell
<email@hidden> 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???

If you talking about an object instantiated outside of nib messaging
an object instantiated "inside" of a nib then you normally do that by
"wiring" up an outlet.

<http://developer.apple.com/documentation/DeveloperTools/Conceptual/IB_UserGuide/ConnectionsandBindings/chapter_6_section_3.html#//apple_ref/doc/uid/TP40005344-CH7-SW31>
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/06Controller/chapter_6_section_2.html#//apple_ref/doc/uid/TP40000863-CH8-SW10>

...also review file's owner...

<http://developer.apple.com/documentation/DeveloperTools/Conceptual/IB_UserGuide/ApplicationBasics/chapter_3_section_2.html#//apple_ref/doc/uid/TP40005344-CH3-SW15>

> I have a document-based app, and an AppController instantiated in IB. The
> AppController needs a reference to the document. If I can get that far,
> everything else I need to do should be straightforward.

Review the docs on document based applications.

<http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/Concepts/OverviewDocArchitecture.html#//apple_ref/doc/uid/20000023>

-Shawn
_______________________________________________

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>)

  • 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