implement the project of raywenderlich UIDynamic tutorial