text: /**
   * Appcelerator Titanium Mobile
   * Copyright (c) 2009-2015 by Appcelerator, Inc. All Rights Reserved.
   * Licensed under the terms of the Apache Public License
   * Please see the LICENSE included with this distribution for details.
   * 
   * WARNING: This is generated code. Modify at your own risk and without support.
   */
  #ifdef USE_TI_UISCROLLABLEVIEW
  
  #import "TiUIView.h"
  
  @interface TiUIScrollableView : TiUIView<UIScrollViewDelegate> {
  @private
  	UIScrollView *scrollview;
  	UIPageControl *pageControl;
  	NSInteger currentPage; // Duplicate some info, just in case we're not showing the page control
  	BOOL showPageControl;
  	UIColor *pageControlBackgroundColor;
  	CGFloat pageControlHeight;
      CGFloat pagingControlAlpha;
  	BOOL handlingPageControlEvent;
      BOOL scrollingEnabled;
      BOOL pagingControlOnTop;
      BOOL overlayEnabled;
      // Have to correct for an apple goof; rotation stops scrolling, AND doesn't move to the next page.
      BOOL rotatedWhileScrolling;
  
      // See the code for why we need this...
      NSInteger lastPage;
      BOOL enforceCacheRecalculation;
      NSInteger cacheSize;
      BOOL pageChanged;
  }
  
  #pragma mark - FlippingHammer Internal Use Only
  -(void)manageRotation;
  -(UIScrollView*)scrollview;
  -(void)refreshScrollView:(CGRect)visibleBounds readd:(BOOL)readd;
  -(void)setCurrentPage:(id)page animated:(NSNumber*)animate;
  -(void)addView:(id)viewproxy;
  -(void)removeView:(id)args;
  @end
  
  #endif
  