AudioUnit Cocoa gui displays popup which steals spacebar from the host

2013-12-18 Thread Vojtěch Meluzín
Hi, my plugins often display popups. Everything is just fine, except the message chain goes from the popup's view just to the window itself, so the host doesn't key keyboard events even if the window doesn't use it. That's pretty normal, but is a little bit annoying with things like spacebar.

Re: AudioUnit Cocoa gui displays popup which steals spacebar from the host

2013-12-18 Thread Vojtěch Meluzín
*Well, Apple recommends lots of things, it also gives a damn about pro audio software developers, forces programmers to use different programming languages, horrible technologies such as audiounits etc... but none of this is the issue here.* I need the popups, that's why I'm asking. The trouble

CALayer's delegate prevents implicit animation?

2013-12-18 Thread Seth Willits
Short version: In 10.9 only: My CALayer's delegate doesn't implement **any** delegate methods, but because a delegate is set, the layer's position will not implicitly animate. If I don't set it, it works fine. Longer version: I have a view hosting a very plain root layer, and then this

Re: CALayer's delegate prevents implicit animation?

2013-12-18 Thread David Duncan
What is the identify of your delegate? On Dec 18, 2013, at 10:51 AM, Seth Willits sli...@araelium.com wrote: Short version: In 10.9 only: My CALayer's delegate doesn't implement **any** delegate methods, but because a delegate is set, the layer's position will not implicitly animate. If

Re: CALayer's delegate prevents implicit animation?

2013-12-18 Thread Seth Willits
Oooo… Yeah, it's an NSView which I imagine is the problem. Documenting this behavior would be very useful. My entire app is one view, with zillions of layers in it, so I have the view as the master coordinator for everything. Since it knows about various views and their layout

Re: CALayer's delegate prevents implicit animation?

2013-12-18 Thread Cody Garvin
Yah you can't make the parent view of the layer the delegate. Nasty things can happen. One of my interview questions I ask :) Please excuse mobile typos On Dec 18, 2013, at 11:50 AM, Seth Willits sli...@araelium.com wrote: Oooo… Yeah, it's an NSView which I imagine is the problem.

Re: CALayer's delegate prevents implicit animation?

2013-12-18 Thread Sean McBride
Wait, what? You're saying a CALayer's delegate can't be its parent NSView? Why? Where does it say that? I've been doing that for years without apparent problem. I'd be interested to hear more... Sean On Wed, 18 Dec 2013 12:39:12 -0800, Cody Garvin said: Yah you can't make the parent

Adding helper app to sandboxed Cocoa app

2013-12-18 Thread Todd Heberlein
I am having troubles with the Archive step for a Cocoa program containing a command line helper app. The archive keeps coming up with Generic Xcode Archive, and clicking Validate generates the message: “combo6” does not contain a single–bundle application or contains multiple products. Please

Re: Adding helper app to sandboxed Cocoa app

2013-12-18 Thread Seth Willits
On Dec 18, 2013, at 3:33 PM, Todd Heberlein todd_heberl...@mac.com wrote: I am having troubles with the Archive step for a Cocoa program containing a command line helper app. The archive keeps coming up with Generic Xcode Archive, and clicking Validate generates the message: “combo6” does

Re: Adding helper app to sandboxed Cocoa app

2013-12-18 Thread Todd Heberlein
On Dec 18, 2013, at 4:02 PM, Seth Willits sli...@araelium.com wrote: Turn on Skip Installation in the tool's build settings. I think that will do it. If you look in the archive you'll see that there's an extra copy because it stuck in the installation path (within the archive) which messes

Re: Adding helper app to sandboxed Cocoa app

2013-12-18 Thread Seth Willits
On Dec 18, 2013, at 4:38 PM, Todd Heberlein todd_heberl...@mac.com wrote: Turn on Skip Installation in the tool's build settings. I think that will do it. If you look in the archive you'll see that there's an extra copy because it stuck in the installation path (within the archive) which