Photon interview question

oops concept, design patterns in objective c