This is the code for the tutorial "How to create a custom control il iOS" from http://www.thinkandbuild.it