BFColorPickerPopover
BFColorPickerPopover copied to clipboard
_delegatePopoverShouldClose not called in Yosemite
The method
- (BOOL)_delegatePopoverShouldClose:(id)sender
(BFColorPickerPopover:182) is not called in Yosemite when the popover is dismissed by clicking outside, and thus the popover keeps observing changes on the shared color picker, creating some weird behaviour.
I've also noticed this and found that implementing - (BOOL)popoverShouldClose:(id)sender
instead does seem to work correctly. However I'm not sure why _delegatePopoverShouldClose
was used, so I can't say for certain that this is the correct approach...