some example for oc and swift