cleanly support drag-to-trash for uninstall?

2011-08-05 Thread Carl Harris
This seems like a topic that has probably been covered before, but I haven't been able to locate much in the way of prior relevant discussion. I have a Cocoa app that (among other things) installs an agent in launchd that runs in the background. The agent installation happens when the app is

NSComboBoxCell menu selection in an NSTableColumn

2010-03-31 Thread Carl Harris
My application has an NSTableView with a column whose cell is an NSComboBoxCell. Just to keep things simple (for the purpose of explanation here), let's assume that the combo box cell is configured with a list of items via the IB Inspector. The table view is nothing special -- just the

Re: Code Signing

2009-09-07 Thread Carl Harris
Peter Hudson wrote: I was looking for a way to observe the code having been hacked - and if it has been, for the app not to run. What is the kill flag and how do I set it ? Could it be reset by someone ? Take a look at the Code Signing Services Reference:

Re: Code Signing

2009-09-05 Thread Carl Harris
Peter Hudson wrote: Using the certificate Common Name as the identifier, I run: codesign -s -v MyCertificate TestApp.app Try codesign -v -s MyCertificate TestApp.app You can also just set the Code Signing Identity build property in Xcode and it will do the signing as it builds

Re: Have sheet delay until done?

2009-09-02 Thread Carl Harris
Chase Meadors wrote: The problem is, the -runNewItemSheet method is returning right after starting the sheet. What I want is for it to wait until the didEnd selector is called to return from the - runNewItemSheet method. That way, readyNewItem will be properly assigned and not nil. Is there any

Re: libcrypto on Snow Leopard

2009-08-29 Thread Carl Harris
to require 10.6 at runtime? Taking libcrypto out of the equation, if I build my app using the 10.6 SDK, I can't really expect it to run under 10.5 or earlier versions of Mac OS X, can I? -- Carl Harris ___ Cocoa-dev mailing list (Cocoa-dev

Re: screen lock events?

2009-07-03 Thread Carl Harris
notification names after activating/deactivating the screen lock. I haven't found declarations for these events in a header anywhere, and I'm not certain that they're part of any published API, but the events are observable, at least in Leopard. -- Carl Harris Virginia Tech

screen lock events?

2009-07-02 Thread Carl Harris
Are there events that I can observe that indicate when the screen lock has activated/deactivated? I have a background agent that should really be disabled when the screen is locked... Thanks for any pointers... -- Carl Harris cehar...@vt.edu

Re: Hiding a running application

2009-06-28 Thread Carl Harris
details. -- Carl Harris cehar...@vt.edu ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your