From 3aa3122645afa96c2354124b96bb714de9ad2d69 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Sat, 21 Sep 2013 10:42:23 -0400 Subject: [PATCH] Minor fixes. [FIXED] Missing import statements; don't assume we're building with a certain PCH. [FIXED] Correct typing; esp. for 64-bit iOS. --- DCIntrospect/DCCrossHairView.h | 1 + DCIntrospect/DCFrameView.m | 2 +- DCIntrospect/DCStatusBarOverlay.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DCIntrospect/DCCrossHairView.h b/DCIntrospect/DCCrossHairView.h index 7160ffa..2dc90e5 100644 --- a/DCIntrospect/DCCrossHairView.h +++ b/DCIntrospect/DCCrossHairView.h @@ -4,6 +4,7 @@ // Created by Domestic Cat on 3/05/11. // +#import @interface DCCrossHairView : UIView { diff --git a/DCIntrospect/DCFrameView.m b/DCIntrospect/DCFrameView.m index 040fcd9..75e4814 100644 --- a/DCIntrospect/DCFrameView.m +++ b/DCIntrospect/DCFrameView.m @@ -121,7 +121,7 @@ - (void)drawRect:(CGRect)rect UIFont *font = [UIFont systemFontOfSize:10.0f]; - float dash[2] = {3, 3}; + CGFloat dash[2] = {3, 3}; CGContextSetLineDash(context, 0, dash, 2); // edge->left side diff --git a/DCIntrospect/DCStatusBarOverlay.h b/DCIntrospect/DCStatusBarOverlay.h index cd30a44..2dc935d 100644 --- a/DCIntrospect/DCStatusBarOverlay.h +++ b/DCIntrospect/DCStatusBarOverlay.h @@ -6,7 +6,7 @@ // Based mainly on @myellow's excellent MTStatusBarOverlay: https://github.com/myell0w/MTStatusBarOverlay - +#import #import "DCIntrospectSettings.h" #define kDCIntrospectNotificationStatusBarTapped @"kDCIntrospectNotificationStatusBarTapped"