Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4d4e293a41
Fetching contributors…

Cannot retrieve contributors at this time

64 lines (46 sloc) 1.824 kb
// FPPopoverController.h
// Created by Alvise Susmel on 1/5/12.
// Copyright (c) 2012 Fifty Pixels Ltd. All rights reserved.
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "FPPopoverView.h"
#import "FPTouchView.h"
@class FPPopoverController;
@protocol FPPopoverControllerDelegate <NSObject>
- (void)popoverControllerDidDismissPopover:(FPPopoverController *)popoverController;
- (void)presentedNewPopoverController:(FPPopoverController *)newPopoverController
@interface FPPopoverController : UIViewController
FPTouchView *_touchView;
FPPopoverView *_contentView;
UIViewController *_viewController;
UIWindow *_window;
UIView *_parentView;
UIView *_fromView;
UIDeviceOrientation _deviceOrientation;
@property(nonatomic,assign) id<FPPopoverControllerDelegate> delegate;
/** @brief FPPopoverArrowDirectionAny, FPPopoverArrowDirectionVertical or FPPopoverArrowDirectionHorizontal for automatic arrow direction.
@property(nonatomic,assign) FPPopoverArrowDirection arrowDirection;
@property(nonatomic,assign) CGSize contentSize;
@property(nonatomic,assign) CGPoint origin;
/** @brief The tint of the popover. **/
@property(nonatomic,assign) FPPopoverTint tint;
/** @brief Initialize the popover with the content view controller
/** @brief Presenting the popover from a specified view **/
/** @brief Presenting the popover from a specified point **/
/** @brief Dismiss the popover **/
Jump to Line
Something went wrong with that request. Please try again.