• 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
Interface Builder & Wiring Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interface Builder & Wiring Objects


  • Subject: Interface Builder & Wiring Objects
  • From: Greg Deward <email@hidden>
  • Date: Mon, 17 Nov 2008 13:09:23 -0500

Good afternoon!

I am trying to learn Cocoa and am having difficulty remembering which direction to CTRL-drag controls to wire up the controls in Interface Builder. For example, dragging from my button to my App Controller (NSObject) or vice versa. Does anyone have a way to explain this that might make it stick?

It seems to me that a button should make a call to my App Controller when the click event is fired; therefore I should CTRL-drag FROM the button TO the NSObject. This would allow me to select the appropriate Received Action (ie, "doSomething", etc."). However, if I need to do something with a text box (read from it) and a table view (insert an item), I should go the other way... since I'm going to fetch from the text field and then insert into the NSArray that is feeding the text view.

Sorry for such a noob question. Thank you, in advance, for your patience and assistance.

-- Greg
_______________________________________________

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


  • Follow-Ups:
    • RE: Interface Builder & Wiring Objects
      • From: Etienne GuĂ©rard <email@hidden>
    • Re: Interface Builder & Wiring Objects
      • From: Randall Meadows <email@hidden>
    • Re: Interface Builder & Wiring Objects
      • From: Luke the Hiesterman <email@hidden>
  • Prev by Date: Question about interface builder
  • Next by Date: Re: Question about interface builder
  • Previous by thread: Re: Question about interface builder
  • Next by thread: Re: Interface Builder & Wiring Objects
  • Index(es):
    • Date
    • Thread