Sample of a protocol definition and adoption of delegate in iOS.