Well, the grief is this -- a Cocoa plugin can talk directly to a Carbon host in 10.5, but not in 10.4. To support both Carbon and Cocoa hosts in 10.4, I need to write two versions of the same code, one in Carbon and one in Cocoa.
In fact, I'd have been better off if I'd just done the whole plugin framework in Carbon, and left it to Cocoa hosts to deal with compatibility. There's zero reason for me to use Cocoa, except for the fact that I already did the whole thing in Cocoa, because of course Cocoa is better than Carbon, and Cocoa is the future, and Carbon will be deprecated, and Apple nicely provides this easy way to embed a Cocoa view inside a Carbon window -- but only in 10.5.
|