Some objective c codes