adapterPatter for Objective c.This example has been created by examining headfirst design pattern for java.