In Xcode 6, there is a new marco IBInspectable can add some property setter into custom object. We can use it for our animations.