Files
ManagerDemo/ManagerDemo/Common/GesturePassword/TentacleView.h
T
2014-11-07 15:45:35 +08:00

49 lines
824 B
Objective-C
Executable File

//
// TentacleView.h
// GesturePassword
//
// Created by hb on 14-8-23.
// Copyright (c) 2014年 黑と白の印记. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol ResetDelegate <NSObject>
- (BOOL)resetPassword:(NSString *)result;
@end
@protocol VerificationDelegate <NSObject>
- (BOOL)verification:(NSString *)result;
@end
@protocol TouchBeginDelegate <NSObject>
- (void)gestureTouchBegin;
@end
@interface TentacleView : UIView
@property (nonatomic,strong) NSArray * buttonArray;
@property (nonatomic,assign) id<VerificationDelegate> rerificationDelegate;
@property (nonatomic,assign) id<ResetDelegate> resetDelegate;
@property (nonatomic,assign) id<TouchBeginDelegate> touchBeginDelegate;
/*
1: Verify
2: Reset
*/
@property (nonatomic,assign) NSInteger style;
- (void)enterArgin;
@end