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
- Delivered-to: email@hidden
- Delivered-to: email@hidden
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=wKmedMJqPax6reCkVK/3Wt7crx3fCv9P465GlhgV42I=; b=FkXeTu+oTWJOtVHvtH5A2Uy7bCnKl8QKN6aJAEvGCXpmGd2LNb5to1SxSvQfGtmKVb 5yBsn7tQCgCqgebEMctvC/r6Z31RftDpP0t/94q90u3kxFUKjZ0FJs261plcsp9uGZKo KKh0YmdiXx5tnIZzpN3jmUcgf7k35OFaU2ahQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=M5/LxWKNkrrjNILTAkepdSNtmXTg1bXudyN0RnaPzDfcux6T2pjEpl/iaK7JGugtgD ZF2uV69/C32wWijius2P5e9yVJkKVLfB2JVpUUHbrNxk0bk4P7jeD2siFUrnW0lPap+0 Tupxp4joKc0g10WHhiqcCdARXyb4spAjLcei8=
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.