3 ms·
Yeah. I think Apple's Cocoa framework is a good example. Instead of inheritance you use delegates to modify class behaviour. Subclassing is 100% possible but no
by st3fan 18y ago
Yeah. I think Apple's Cocoa framework is a good example. Instead of inheritance you use delegates to modify class behaviour. Subclassing is 100% possible but not very often required because of the delegate pattern.