Objective c - api wrapper