Skip to content

Commit 0f999c6

Browse files
Merge pull request #65 from barz/visibility-api
Changing the "popoverVisible" @Property to match the UIPopoverController API
2 parents 83b8440 + 520d555 commit 0f999c6

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

WYPopoverController/WYPopoverController.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ 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;
105-
@property (nonatomic, assign) CGFloat animationDuration;
99+
@property (nonatomic, copy) NSArray *passthroughViews;
100+
@property (nonatomic, assign) BOOL wantsDefaultContentAppearance;
101+
@property (nonatomic, assign) UIEdgeInsets popoverLayoutMargins;
102+
@property (nonatomic, readonly, getter=isPopoverVisible) BOOL popoverVisible;
103+
@property (nonatomic, strong, readonly) UIViewController *contentViewController;
104+
@property (nonatomic, assign) CGSize popoverContentSize;
105+
@property (nonatomic, assign) CGFloat animationDuration;
106106

107107
- (id)initWithContentViewController:(UIViewController *)viewController;
108108

WYPopoverController/WYPopoverController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ @implementation WYPopoverController
13701370
@synthesize delegate;
13711371
@synthesize passthroughViews;
13721372
@synthesize wantsDefaultContentAppearance;
1373-
@synthesize isPopoverVisible;
1373+
@synthesize popoverVisible;
13741374
@synthesize popoverLayoutMargins;
13751375
@synthesize animationDuration;
13761376

0 commit comments

Comments
 (0)