Permalink
Browse files

Made the noise image publicly accessible

  • Loading branch information...
1 parent c201ab3 commit e2e2426dec93a06f609a6ee26dfda8c94962d174 @coneybeare coneybeare committed Jul 3, 2012
@@ -5,6 +5,12 @@
//
#import <UIKit/UIKit.h>
+#import <QuartzCore/QuartzCore.h>
+
+@interface NoiseLayer : CALayer
++ (UIImage *)noiseTileImage;
++ (void)drawPixelInContext:(CGContextRef)context point:(CGPoint)point width:(CGFloat)width opacity:(CGFloat)opacity whiteLevel:(CGFloat)whiteLevel;
+@end
@interface UIView (JMNoise)
@@ -1,6 +1,5 @@
// Created by Jason Morrissey
-#import <QuartzCore/QuartzCore.h>
#import "UIView+JMNoise.h"
#include <stdlib.h>
@@ -14,11 +13,6 @@
#pragma Mark -
#pragma Mark - Noise Layer
-@interface NoiseLayer : CALayer
-+ (UIImage *)noiseTileImage;
-+ (void)drawPixelInContext:(CGContextRef)context point:(CGPoint)point width:(CGFloat)width opacity:(CGFloat)opacity whiteLevel:(CGFloat)whiteLevel;
-@end
-
@implementation NoiseLayer
static UIImage * JMNoiseImage;

0 comments on commit e2e2426

Please sign in to comment.