This is my example of how to use a delegate for a view.  This example creates a clickable image.