summaryrefslogtreecommitdiff
path: root/iPhonePrivate.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-11-05 09:32:48 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2010-11-05 09:32:48 -0700
commit9c1605e2d99b216c21dbc6134dae0bc3bb02e38d (patch)
tree36d3e644024bdf012059d576aeba791a16d320d7 /iPhonePrivate.h
parent1671fa4e57bc813f7e0b4423662961d9e55d7d6e (diff)
Downgrade support for -[UIScrollView setDecelerationRate].
Diffstat (limited to 'iPhonePrivate.h')
-rw-r--r--iPhonePrivate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/iPhonePrivate.h b/iPhonePrivate.h
index 6dc893b..1c19858 100644
--- a/iPhonePrivate.h
+++ b/iPhonePrivate.h
@@ -318,6 +318,12 @@ typedef enum {
- (void) setModalPresentationStyle:(UIModalPresentationStyle)style;
@end
+@interface UIScrollView (iOS_3_0)
+@property(assign, nonatomic) float decelerationRate;
+@end
+
+extern float const UIScrollViewDecelerationRateNormal;
+
#endif//AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
// }}}