Transform NSInvocation setting return value else-if chain into Chain of Responsibility