Skip to content

Instantly share code, notes, and snippets.

View isaldin's full-sized avatar
🏠
Working from home

SALDIN ILYA isaldin

🏠
Working from home
View GitHub Profile
module PrintformBuilder
class Builder
attr_accessor :entity, :wb, :sheet, :s, :e
def initialize(wb, sheet, entity, s, e, &block)
@entity = entity
@wb = wb
@isaldin
isaldin / gist:ad225ee839c69f99da7d
Last active August 29, 2015 14:02
[iOS SDK] override methods in runtime (Swizzling)
/*
Category implementation
*/
#import "UIViewController+Swizzle.h"
#import <objc/runtime.h>
@implementation UIViewController (Swizzle)
+ (void)load