Title: Theory / Important / CS / Programming / Objective-C / Documentation / Target-action

Name: An action
Definition: A representation of some event that occurred in the application
Page: https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Target-Action/Target-Action.html
Context: Objective-C
Example: The user clicked a button

Name: The target of the action a
Definition: The object that receive the message from the action a and interprets it
Page: https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Target-Action/Target-Action.html
Variables: a an action
Context: Objective-C

Question: In which order the target of a is searched
Answer: First responder in the key window
Page: https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Target-Action/Target-Action.html
Variables: a an action
Context: Objective-C
Answer2: Follow nextResponder as long as it does not return nil
Answer3: The window object
Answer4: The window object's delegate
Answer5: Main window (if it differs from key window), and then sequences in the same order
Answer6: The application
Answer7: The application's delegate

Typ: IBAction
Meaning: Indicate that methods returning this type is an action
Page: https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Target-Action/Target-Action.html
Language: Objective-C
Variables: a an action

Typ: target-action in AppKit
Meaning: todo
Page: https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Target-Action/Target-Action.html
Language: Objective-C
Variables: a an action