Created
January 17, 2014 23:36
-
-
Save ngutman/8483692 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (id)initWithFrame:(CGRect)frame | |
{ | |
self = [super initWithFrame:frame]; | |
if (!self) return nil; | |
self.panGestureRecognizer = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(dragged:)]; | |
[self addGestureRecognizer:self.panGestureRecognizer]; | |
[self loadImageAndStyle]; | |
self.overlayView = [[GGOverlayView alloc] initWithFrame:self.bounds]; | |
self.overlayView.alpha = 0; | |
[self addSubview:self.overlayView]; | |
return self; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment