Example using Blocks on iOS