All Questions
Tagged with delegation subclassing
1 question
0
votes
3
answers
210
views
Are there any benefits to delegation over subclassing/inheritance in the case of a singleton?
Example:
The MacOS API known as Cocoa uses Delegation to specify various behaviors within the app. A Delegate is a separate object that implements a set of methods that are called by an original ...