UIImagePickerController in popover broken on iOS 9

2016-05-04 Thread Matt Reagan
Hi all, I've encountered a bug when UIImagePickerController is presented in a popover on iOS 9, and have been unable to find a workaround / fix. It is easily reproducible in a brand new Xcode template (repro steps + sample project linked below), but I haven't been able to find much information

Re: Contextual menu for NSTableCellView in NSOutlineView

2016-02-10 Thread Matt Reagan
> Also, does a Control-click behave differently than a right-click? Control-clicks will behave differently than a right-click in NSView (though I'm not sure if that's Konidaris' problem). A control click on a child NSView won't show the parent's -menuForEvent as a right mouse down does. I wrote

Re: Panes vs. Separate Windows

2016-01-11 Thread Matt Reagan
> If you make it flexible, you risk getting 40% lovers and 40% haters, and 20% > people who are annoyed because it’s too flexible or too complicated. That’s a > net loss in satisfaction. How about: 40% lovers, 40% haters, and 20% people who *are initially frustrated by the complexity, and then

Re: Window position updates on demand?

2015-12-17 Thread Matt Reagan
NSWindow -frame doesn't update synchronously when dragging (which is weird, because other NSWindow public API that also depend on the exact window frame, e.g. NSWindow -mouseLocationOutsideOfEventStream, work as expected during window drags). One option might be to grab the NSWindow's rect via

Top-level contextual menu for view hierarchy

2015-09-21 Thread Matt Reagan
Hi cocoa-dev, I have a custom UI component that wraps a number of subviews (mostly standard Cocoa views: NSTextField, NSImageView, etc.). I'm attempting to provide a contextual menu for the entire top-level view / control in this case, so that regardless of which particular subview is right/co