Re: launchctl agents unload clean up

2011-12-04 Thread Jerry Krinock
On 2011 Dec 02, at 04:39, Rajendran P wrote: i need to do some clean up on launchctl unload of my agent (cocoa application with minimal ui ). - (void)applicationWillTerminate:(NSNotification *)aNotification does not seems to be working any other solution ? Rajendran, you did not

Re: Unusual interface, usage of 3d party GUI framework and Mac App Store

2011-12-04 Thread Jens Alfke
On Dec 1, 2011, at 5:51 AM, Nick wrote: I am wondering, does Apple allow applications to use non standard controls, like completely drawn-from-png buttons and custom window that QuickTime Player X uses for playback control? Sure, there are plenty of apps with custom UI (many by Apple :)

Re: drag and drop to the finder

2011-12-04 Thread Jens Alfke
On Dec 2, 2011, at 3:58 PM, Eric Smith wrote: I want to declare a drag type that the finder will recognize, but that can be used for other destinations as well, like mail. Right now, my users have to do option+drag for dragging files to the finder, in which case I call [NSView

Re: Escape xml with CFXMLCreateStringByEscapingEntities

2011-12-04 Thread Jens Alfke
On Dec 1, 2011, at 12:19 AM, Claude Saelens wrote: NSMutableString *aNSString = [NSMutableString stringWithString:xmlString]; CFStringRef aCFString; CFStringRef bCFString; aCFString = CFStringCreateWithCString(NULL, [aNSString UTF8String], NSUTF8StringEncoding);

I've Got Those NSKeyedUnarchiver Blues!

2011-12-04 Thread Stuart Rogers
I'm having a problem decoding a keyed archive, and I would appreciate it if some kind soul here can swing the relevant clue bat... My workspace contains three OS X projects: * A static library: 'Splits Image Lib'. This contains, inter alia, a class called SplitsTestSet, which conforms to

Re: Unusual interface, usage of 3d party GUI framework and Mac App Store

2011-12-04 Thread Nick
Thanks. . 2011/12/4 Jens Alfke j...@mooseyard.com On Dec 1, 2011, at 5:51 AM, Nick wrote: I am wondering, does Apple allow applications to use non standard controls, like completely drawn-from-png buttons and custom window that QuickTime Player X uses for playback control? Sure, there

How to make WebKit play HTML5 video in a separate window?

2011-12-04 Thread Nick
Hi Is there a way to make Mac OS's WebKit play HTML5 videos, like an iPhone Retina simulator does that,when I connect TV Set to it? When you click on the play button, iPhone simulator opens a new window and starts playback there. I am wondering if i could emulate such a behavior for a desktop

Re: I've Got Those NSKeyedUnarchiver Blues!

2011-12-04 Thread Stuart Rogers
A little earlier I wrote... The Trainer app is where things fall over. It reads the file into an NSData object and tries to decode it with NSKeyedUnarchiver's -unarchiveWithData: but this results in: *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class

Re: I've Got Those NSKeyedUnarchiver Blues!

2011-12-04 Thread Jens Alfke
On Dec 4, 2011, at 11:17 AM, Stuart Rogers wrote: *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (SplitsTestSet) I really don't understand why this is happening. I'm convinced it's not a problem with library linking, as these apps have no problem

Why would a working -[NSInvocation invoke] call NSBeep() ?

2011-12-04 Thread Jerry Krinock
At one point, running in Mac OS 10.7, one of my invocations gets invoked, and … #0 0x913761fa in NSBeep #1 0x9b6f0e1d in __invoking___ #2 0x9b6f0d59 in -[NSInvocation invoke] #3 0x976458ea in __NSFireDelayedPerform #4 0x9b6b0996 in

Re: Why would a working -[NSInvocation invoke] call NSBeep() ?

2011-12-04 Thread Kyle Sluder
On Dec 4, 2011, at 5:49 PM, Jerry Krinock je...@ieee.org wrote: At one point, running in Mac OS 10.7, one of my invocations gets invoked, and … #00x913761fa in NSBeep #10x9b6f0e1d in __invoking___ #20x9b6f0d59 in -[NSInvocation invoke] #30x976458ea in