On Thu, Jul 17, 2008 at 2:14 PM, James Maxwell
<[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to