Scripting Bridge and Xcode rule problem

2009-10-29 Thread timm...@gmail.com
Hello, I followed the Read Me included in the SBSystemPrefs sample code to have Xcode automatically generate the Scripting Bridge headers for any application I add to my project (currently I am only using System Preferences). The problem is every time I build my project, either 2 instance

Re: Scripting Bridge and Xcode rule problem

2009-10-30 Thread timm...@gmail.com
On Oct 30, 2009, at 2:44 AM, Kyle Sluder wrote: Anyone have any ideas why sometimes sdef fails like that? Also, is it possible to make System Preferences open once and/or quit after sdef and sdp have finished with it? Even though this isn't Xcode-users (where your sdp/sdef question would be

Firewall blocking check?

2009-10-31 Thread timm...@gmail.com
Does anyone know of a way to check programmatically if an app is being blocked by the firewall in 10.5 or 10.6? I know you could use ipfw or check the security plist in 10.4, but that doesn't work anymore. The only thing I could find is the com.apple.alf.plist, which can tell me if the fire

NSPopUpButton questions

2009-12-05 Thread timm...@gmail.com
The Apple docs for NSPopUpButtons says to avoid accessing it's NSMenu directly because it may need to do housekeeping. I had to access it's NSMenu directly though so that I could make a separator menu item. Is this fine for this situation, or is there a better way to do this to conform to Apple'