Initial commit

This commit is contained in:
ifish
2017-08-15 16:59:01 +08:00
commit bdc83e07ef
5766 changed files with 423223 additions and 0 deletions
@@ -0,0 +1,27 @@
//
// TouchButton.h
// Yoosee
//
// Created by guojunyi on 14-4-22.
// Copyright (c) 2014年 guojunyi. All rights reserved.
//
#import <UIKit/UIKit.h>
@class TouchButton;
@protocol TouchButtonDelegate <NSObject>
@optional
-(void)onBegin:(TouchButton*)touchButton widthTouches:(NSSet*)touches withEvent:(UIEvent *)event;
-(void)onCancelled:(TouchButton*)touchButton widthTouches:(NSSet*)touches withEvent:(UIEvent *)event;
-(void)onEnded:(TouchButton*)touchButton widthTouches:(NSSet*)touches withEvent:(UIEvent *)event;
-(void)onMoved:(TouchButton*)touchButton widthTouches:(NSSet*)touches withEvent:(UIEvent *)event;
@end
@interface TouchButton : UIButton
@property (nonatomic, assign) id<TouchButtonDelegate> delegate;
- (void)setDelegate:(id<TouchButtonDelegate>)delegate;
@end