topical media & game development

talk show tell print

#mobile-application-10-DerbyApp-build-iphone-Classes-TiUIiPadPopoverProxy.h / h



  
Appcelerator Titanium Mobile Copyright (c) 2010 by DerbyApp, 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.

  
  if defined(USE_TI_UIIPADPOPOVER) || defined(USE_TI_UIIPADSPLITWINDOW)
  
  #import <TiViewProxy.h>
  #import <TiViewController.h>
  
  if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
  
  //The iPadPopoverProxy should be seen more as like a window or such, because
  //The popover controller will contain the viewController, which has the view.
  //If the view had the logic, you get some nasty dependency loops.
  @interface TiUIiPadPopoverProxy : TiViewProxy<UIPopoverControllerDelegate,TiUIViewController> {
  @private
          UIPopoverController *popoverController;
          UINavigationController *navigationController;
          TiViewController *viewController;
          
  //We need to hold onto this information for whenever the status bar rotates.
          TiViewProxy *popoverView;
          CGRect popoverRect;
          BOOL animated;
          UIPopoverArrowDirection directions;
          
          BOOL isShowing;
  }
  
  //Because the Popover isn't meant to be placed in anywhere specific, 
  @property(nonatomic,readonly) UIPopoverController *popoverController;
  @property(nonatomic,readwrite,retain) TiViewController *viewController;
  
  @property(nonatomic,readwrite,retain) TiViewProxy *popoverView;
  
  -(UINavigationController *)navigationController;
  
  -(void)updatePopover:(NSNotification *)notification;
  -(void)updatePopoverNow;
  
  @end
  
  endif
  
  endif


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.