> On 26 Feb 2015, at 5:12 , Ben Coman <[email protected]> wrote:
>
> Could you provide a sample, so this anti-pattern is more clear.
> cheers -ben
acceptBlock: aBlockWithOneArgument
<api: #block getter: #acceptBlock registration:
#whenAcceptBlockChanged:>
"Set the block to perform when the text is accepted.
The block must have one argument, which will be the accepted text.
The block can return false if the candidate text is to be rejected"
Senders of acceptBlock / whenAcceptBlockChanged now includes acceptBlock:
I guess the pragma is used to autogenerate documentation in sync with the
source, but then it's a bit strange that the description is in a comment rather
than the pragma itself.
Haven't seen a setter/getter pair that deviates from the standard yet, but one
must exist for there to be a keyword reserved for it in the pragma... right?
Cheers,
Henry