No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
GlitchKit Fix the memory leak. Jan 29, 2014
GlitchKitExample Update sample code Dec 11, 2013
.gitignore Init commit Dec 11, 2013
GlitchKit.podspec Bump version Jan 29, 2014
LICENSE.txt Add licence file Dec 11, 2013
README.md Change pod Dec 11, 2013

README.md

GlitchKit - Glitch on image in Objective-C

before glitch

#import "GlitchKit.h"

// glitch!
[uiImageView glitch];

after glitch

// apply custom glitch
[uiImageView glitchWithBlock:^int(int byte, int index, uint length, Byte *bytes) {
  return (byte == 42 && arc4random() % 3 == 1) ? 0 : byte;
}];

after glitch3

Installation

# Podfile
pod 'GlitchKit'