Delegates: Difference between revisions
→{{header|Objeck}}
Line 1,634:
# Same as the above, but with an anonymous class:
a->SetDelegate(Base->New() implements Thingable {
method : public : Thing() ~ String {
return "anonymous delegate implementation";
Line 1,644 ⟶ 1,643:
}
</lang>
=={{header|Objective-C}}==
|