Y
Hacker News
new
|
ask
|
show
|
jobs
by
meggar
3772 days 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.