#import <UIKit/UIKit.h>

@protocol animationNotification

- (void)animationHasFinishedWithView:(UIView *)animatedView;

@optional

- (void)animationStartedWithView:(UIView *)animatedView;

@end

@interface myView : UIView {
   id <animationNotification> delegate;
   UIView *boxView;
}

@property (nonatomic, assign) id delegate;

- (void)animate;

@end
