Loading a class with a specific superclass from a bundle

2008-08-05 Thread Elan Feingold
Hi, I can load the principal class of a bundle with: NSBundle* bundleToLoad = [NSBundle bundleWithPath:@...]; Class exampleClass = [bundleToLoad principalClass]); However, I have a situation where I have a bundle that has a class *without* a principal class, but it has a class that is a

Intercepting Apple Events

2008-07-10 Thread Elan Feingold
Hi, I'm writing an application that would like to intercept Apple Events sent to iTunes, and possibly even reply with its own replies (say, if iTunes isn't running). Is such a thing possible? Many thanks, -elan ___ Cocoa-dev mailing list

Apple Remote and exclusivity

2008-06-02 Thread Elan Feingold
Hi, The app I'm working on makes use of the Apple Remote; specifically, it runs a helper app (daemon) so that the app can be started with a press of the Apple Remote Menu button, and then passes key presses it receives to the app via UDP messages. I'm seeing two issues: 1) Even though I

Re: Apple Remote and exclusivity

2008-06-02 Thread Elan Feingold
From the lack of responses I'm guessing I posted this to the wrong list :-) Can anyone suggest a better list to post to? Many thanks, -elan On Mon, Jun 2, at 9:44 AM, Elan Feingold wrote: Hi, The app I'm working on makes use of the Apple Remote; specifically, it runs a helper app