Do you have an example Apple method that does this?