4 ms·
Basically yeah. An object can have one delegate object, which implements a set of required and optional methods defined in a protocol. So the delegate can add c
by meggar 11y ago
Basically yeah. An object can have one delegate object, which implements a set of required and optional methods defined in a protocol. So the delegate can add customized behavior to an object without subclassing.