Skip to content

Instantly share code, notes, and snippets.

@turtlesoupy
turtlesoupy / SFSSmokeScreen.m
Created September 16, 2012 08:50
Psychedelic smoke CAEmitterLayer particle effect
#import "SFSSmokeScreen.h"
#import <QuartzCore/QuartzCore.h>
@implementation SFSSmokeScreen {
__weak CAEmitterLayer*smokeEmitter;
}
-(id)initWithFrame:(CGRect)frame emitterFrame:(CGRect)emitterFrame{
if ((self = [super initWithFrame:frame])) {
self.backgroundColor = [UIColor clearColor];