iphone Programming Glossary: btnclose
How to erase finger paint on Custom UIView in iPhone http://stackoverflow.com/questions/11132546/how-to-erase-finger-paint-on-custom-uiview-in-iphone is my class .h file @interface draw2D UIView CGPoint previousPoint CGPoint lastPoint CGMutablePathRef path UIButton btnClose UIButton btnErase BOOL IsErase IBAction btnClose id sender IBAction btnErase id sender @end @implementation draw2D void.. previousPoint CGPoint lastPoint CGMutablePathRef path UIButton btnClose UIButton btnErase BOOL IsErase IBAction btnClose id sender IBAction btnErase id sender @end @implementation draw2D void awakeFromNib path CGPathCreateMutable id initWithFrame.. void awakeFromNib path CGPathCreateMutable id initWithFrame CGRect frame self super initWithFrame frame if self btnClose UIButton buttonWithType UIButtonTypeRoundedRect btnClose addTarget self action @selector btnClose forControlEvents UIControlEventTouchDown..
|