Skip to content

Instantly share code, notes, and snippets.

@jontelang
Created February 23, 2013 08:15
Show Gist options
  • Save jontelang/5018934 to your computer and use it in GitHub Desktop.
Save jontelang/5018934 to your computer and use it in GitHub Desktop.
Tweak
%hook UIView
-(void)drawRect:(CGRect)rect{
NSLog(@" - - - -- - - -- - - -- - - - -- - - - - %@", self);
self.layer.borderWidth = 2.0f;
%orig;
}
%end
include theos/makefiles/common.mk
TWEAK_NAME = DebugTools
DebugTools_FILES = Tweak.xm
DebugTools_FRAMEWORKS = UIKit CoreGraphics QuartzCore
include $(THEOS_MAKE_PATH)/tweak.mk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment