Skip to content

Commit cb4eb81

Browse files
committed
convert ‘popoverVisible’ to more closely mirror the UIPopoverController API
1 parent 63f4133 commit cb4eb81

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

WYPopoverController/WYPopoverController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ typedef NS_OPTIONS(NSUInteger, WYPopoverAnimationOptions) {
9595
@property (nonatomic, copy) NSArray *passthroughViews;
9696
@property (nonatomic, assign) BOOL wantsDefaultContentAppearance;
9797
@property (nonatomic, assign) UIEdgeInsets popoverLayoutMargins;
98-
@property (nonatomic, assign, readonly) BOOL isPopoverVisible;
98+
@property (nonatomic, assign, readonly, getter = isPopoverVisible) BOOL popoverVisible;
9999
@property (nonatomic, strong, readonly) UIViewController* contentViewController;
100100
@property (nonatomic, assign) CGSize popoverContentSize;
101101

WYPopoverController/WYPopoverController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ @implementation WYPopoverController
13711371
@synthesize delegate;
13721372
@synthesize passthroughViews;
13731373
@synthesize wantsDefaultContentAppearance;
1374-
@synthesize isPopoverVisible;
1374+
@synthesize popoverVisible;
13751375
@synthesize popoverLayoutMargins;
13761376

13771377
- (id)initWithContentViewController:(UIViewController *)aViewController

0 commit comments

Comments
 (0)