@@ -96,15 +96,18 @@ typedef NS_OPTIONS(NSUInteger, WYPopoverAnimationOptions) {
9696
9797@property (nonatomic , weak ) id <WYPopoverControllerDelegate> delegate;
9898
99- @property (nonatomic , copy ) NSArray *passthroughViews;
100- @property (nonatomic , assign ) BOOL wantsDefaultContentAppearance;
101- @property (nonatomic , assign ) UIEdgeInsets popoverLayoutMargins;
102- @property (nonatomic , assign , readonly ) BOOL isPopoverVisible;
103- @property (nonatomic , strong , readonly ) UIViewController* contentViewController;
104- @property (nonatomic , assign ) CGSize popoverContentSize;
99+ @property (nonatomic , copy ) NSArray *passthroughViews;
100+ @property (nonatomic , assign ) BOOL wantsDefaultContentAppearance;
101+ @property (nonatomic , assign ) UIEdgeInsets popoverLayoutMargins;
102+ @property (nonatomic , assign , readonly ) BOOL isPopoverVisible;
103+ @property (nonatomic , strong , readonly ) UIViewController *contentViewController;
104+ @property (nonatomic , assign ) CGSize popoverContentSize;
105+ @property (nonatomic , assign ) CGFloat animationDuration;
105106
106107- (id )initWithContentViewController : (UIViewController *)viewController ;
107108
109+ //
110+
108111- (void )presentPopoverFromRect : (CGRect)rect
109112 inView : (UIView *)view
110113 permittedArrowDirections : (WYPopoverArrowDirection)arrowDirections
@@ -116,6 +119,8 @@ typedef NS_OPTIONS(NSUInteger, WYPopoverAnimationOptions) {
116119
117120- (void )presentPopoverAsDialogAnimated : (BOOL )animated ;
118121
122+ //
123+
119124- (void )presentPopoverFromRect : (CGRect)rect
120125 inView : (UIView *)view
121126 permittedArrowDirections : (WYPopoverArrowDirection)arrowDirections
@@ -130,6 +135,8 @@ typedef NS_OPTIONS(NSUInteger, WYPopoverAnimationOptions) {
130135- (void )presentPopoverAsDialogAnimated : (BOOL )animated
131136 options : (WYPopoverAnimationOptions)options ;
132137
138+ //
139+
133140- (void )dismissPopoverAnimated : (BOOL )animated ;
134141
135142@end
0 commit comments