I have class Child inherited from class Parent. What I want is to send message to child, which has implementation of that message. So it's like calling pure virtual function from parent. If I send message now from Parent I'll get warning that Parent may not respond to this message. It is true, because only Child has implementation of it.
Basically Parent will detect some action like tap on cancel button, but each child has its own implementation of that cancel message, so I want to call from Parent onCancel
to let them do their job.
Can't believe that using inheritance I still have to use delegates...