//Animate Button MSAnimatedBtn btn=(MSAnimatedBtn)self.btnEnd; [btn SetTopColorWithR:122.0/256 G:182.0/256 B:220.0/256 alpha:1.0]; [btn SetBottomColorWithR:122.0/256 G:182.0/256 B:220.0/256 alpha:1.0]; [btn createLayer];
create IBOutlet of Button and than take its reference