Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Conditionally disable access to private UITouch ivars (fix broken build with iOS 6 SDK) #809

Merged
merged 1 commit into from Jul 27, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Three20UI/Headers/UIViewAdditions.h
Expand Up @@ -138,7 +138,7 @@
/**
* WARNING: This depends on undocumented APIs and may be fragile. For testing only.
*/
#ifdef DEBUG
#ifdef DEBUG_TOUCHES
- (void)simulateTapAtPoint:(CGPoint)location;
#endif

Expand Down
5 changes: 3 additions & 2 deletions src/Three20UI/Sources/UIViewAdditions.m
Expand Up @@ -27,7 +27,7 @@


// Remove GSEvent and UITouchAdditions from Release builds
#ifdef DEBUG
#ifdef DEBUG_TOUCHES

///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -423,7 +423,8 @@ - (void)removeAllSubviews {
}


#ifdef DEBUG
#ifdef DEBUG_TOUCHES


///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)simulateTapAtPoint:(CGPoint)location {
Expand Down