Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialYuCheng Chien
Front End Web Development Techdegree Student 8,284 PointsWhich of the following best describes a Target-Action method: ?
It's in the quiz question.
2 Answers
Holger Liesegang
50,595 PointsWelcome to Treehouse, YuCheng Chien !
I'm not quite sure what you mean, but the answer to "Which of the following best describes a Target-Action method: ?" would be "Sending a specific message to a designated object or class"
David Lin
35,864 PointsTarget-action is a design pattern in which an object holds the information necessary to send a message to another object when an event occurs. The stored information consists of two items of data: an action selector, which identifies the method to be invoked, and a target, which is the object to receive the message. The message sent when the event occurs is called an action message. Although the target can be any object, even a framework object, it is typically a custom controller that handles the action message in an application-specific way.