Skip to content

Commit

Permalink
Use availability macro to ensure clean build against 5.0 SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
blakewatters committed Jul 2, 2012
1 parent 6b2a85d commit 0a5c584
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Additions/UITouch-KIFAdditions.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

MAKE_CATEGORIES_LOADABLE(UITouch_KIFAdditions)


@interface UITouch () {
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 60000
// ivars declarations removed in 6.0
NSTimeInterval _timestamp;
UITouchPhase _phase;
UITouchPhase _savedPhase;
Expand All @@ -38,6 +41,7 @@ @interface UITouch () {
unsigned int _sentTouchesEnded:1;
unsigned int _abandonForwardingRecord:1;
} _touchFlags;
#endif
}
@end

Expand Down

0 comments on commit 0a5c584

Please sign in to comment.