GlitchKit 0.0.3

GlitchKit 0.0.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



GlitchKit 0.0.3

  • By
  • Yuichi Tateno

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'