Document private state and behaviour on RBLPopover.

This commit is contained in:
Danny Greg 2012-09-14 13:53:10 +01:00
Родитель 7be79ac864
Коммит c83f0cc06d
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -43,11 +43,22 @@ static NSTimeInterval const RBLPopoverDefaultFadeDuration = 0.3;
@interface RBLPopover ()
// The window we are using to display the popover.
@property (nonatomic, strong) NSWindow *popoverWindow;
// The identifier for the event monitor we are using to watch for mouse clicks
// outisde of the popover.
// We are not responsible for it's memory management.
@property (nonatomic, unsafe_unretained) id transientEventMonitor;
// Whether the popover is currently animating, either in or out.
@property (nonatomic, getter = isAnimating) BOOL animating;
// The size the content view was before the popover was shown.
@property (nonatomic) CGSize originalViewSize;
// Correctly removes our event monitor watching for mouse clicks external to the
// popover.
- (void)removeEventMonitor;
@end