Re: I can't find it in the docs so I know I'm missing it some where

2009-09-02 Thread Harry Jordan
There' s a good reason to enforce the 99 cent rule. Imagine a scenario in which a user downloads an app that is advertised as free, only to find that it's crippled beyond use without a subscription to a service or an internal upgrade. That's no way to build trust in the App Store. Yes, Appl

Advice on debugging a GC related crash

2009-09-25 Thread Harry Jordan
I've just released my first application, and despite the best efforts of me and an admitedly small group of beta testers it seems that a crashers slipped through. So far this one has only effected 1 user out of maybe 500: OS: 10.6.1 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes

Re: Advice on debugging a GC related crash

2009-09-26 Thread Harry Jordan
u again Harry On 25 Sep 2009, at 16:01, Bill Bumgarner wrote: On Sep 25, 2009, at 4:32 AM, Harry Jordan wrote: Thread 3 Crashed: Dispatch queue: Garbage Collection Work Queue 0 com.apple.CoreFoundation 0x95c6c393 __CFTypeCollectionRelease + 83 1 com.apple.CoreFounda

Re: How to set the name of open-with application for a specific file?

2009-08-02 Thread Harry Jordan
(Not sure why this didn't get sent to the list the first time round, but here it is for the Google bots to pick up) The place to look is the Launch Services Reference, in particular the LSSetDefaultRoleHandlerForContentType() function. I haven't used the setter functions myself, but it looks reaso

Re: Need advice about how to create a Cocoa Framework

2009-08-19 Thread Harry Jordan
Do you mean that you want to write an Objective-C wrapper to the C library, or just group the C functions into an easily accessible place? If your wrapping things in Objective-C, try not to change any of the C library (of course tidying, and bug fixing as you go's allowed). Write the framew

Re: Detect Keyboard Layout for CGKeyCodes

2009-08-19 Thread Harry Jordan
http://inquisitivecocoa.com/2009/04/05/key-code-translator/ for my version of what I think your trying to achieve. Be warned, there are a few gaps in my implementation (like F numbers for instance), but that shouldn't be that hard to add. Harry Jordan http://inquisitivesoftware.com/ On 19 Awst 2009

Re: Detect Keyboard Layout for CGKeyCodes

2009-08-20 Thread Harry Jordan
d on the keyboard they have, so the right key gets a simulation of a click. Or, maybe there's a better way to do this than CGEvents? I just need it to be universal–This app is a background app, so the keystroke needs to be able to be inserted anywhere. Cheers, Joe Turner On Wednes

Confounding crash, not much to go on except a stack trace

2009-03-26 Thread Harry Jordan
I was wondering if anyone could shed light on this strange error that occurs, sometimes, (never when I'm actually trying to reproduce it) when clicking in the application menu while running a modal Open Panel. #00x816f5d36 in mach_msg_trap #10x816fd373 in mach_msg #20x81915c4f in CF

Re: Confounding crash, not much to go on except a stack trace

2009-05-09 Thread Harry Jordan
only affected my app, when it was running 64bit. So problem solved, but I'm not sure how or why. On Mar 26, 10:32 pm, Nick Zitzmann wrote: > On Mar 26, 2009, at 2:33 PM, Harry Jordan wrote: > > > I was wondering if anyone could shed light on this strange error   > > that occurs,