Credit my solution to an apple developer forum post