I must say, it works great! :) Anyway just for first time I've got problems with naming conventions. So my suggestion:
@interface UIView (DragDrop)...
- (void) setDelegate:(id)delegate;
to
- (void) setDragDropDelegate:(id)delegate;
@protocol UIViewDragDropDelegate
- (void) draggableView:(UIView *)view wasDroppedOnDropView:(UIView *)drop;
@optional
- (BOOL) draggableViewShouldReturnToStartingPosition:(UIView*)view;
- (void) draggingDidBeginForView:(UIView*)view; //same
- (void) draggingDidEndWithoutDropForView:(UIView*)view; //same
- (void) draggableView:(UIView *)view didHoverOverDropView:(UIView *)dropView;
- (void) draggableView:(UIView *)view didUnhoverOverDropView:(UIView *)dropView;
@EnD
I must say, it works great! :) Anyway just for first time I've got problems with naming conventions. So my suggestion:
@interface UIView (DragDrop)...
to
@protocol UIViewDragDropDelegate
@optional
@EnD