Hi Yuriy,
If I remember well, originally, there was #canUnderstand: that checked if a
method with the given selector is present in the class hierarchy while
#canPerform: was also checking that it is not a subclassResponsibility, an
explicitRequirement or a shouldBeDefined method.
Right now, both does the latter, I don't know why.
I had trouble with this change because it broke some critics rules ("message
sent but not implemented" for ex).
Camille
On 9 juil. 2014, at 16:50, Yuriy Tymchuk <[email protected]> wrote:
> Hi guys,
>
> I’m wandering if #canUnderstand: is implemented in a right way. I has exactly
> the same implementation as #canPerform:, so I wander if it’s a part of
> renaming process or one of the methods is not doing what they should.
>
> Uko