Key equivalents for an action without a visible object item

2008-07-05 Thread Kanny
Is it possible to define a key-equivalent for an action like in NSMenuItem but without any visible object ?  The situation is like this: I have a NSTextField in nib file of my Application-Menu-less menubar app. I want it to receive Command-v for 'paste', but since I don't have/want a menuItem

Re: Key equivalents for an action without a visible object item

2008-07-06 Thread Kanny
item To: "Cocoa Developers" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8 On Sat, Jul 5, 2008 at 8:14 PM, Kanny <[EMAIL PROTECTED]> wrote: > Is it possible to define a key-equivalent for an action like in NSMenuItem > but without any visible

Re: NSURLConnection how to handle 502 error

2008-07-07 Thread Kanny
I am still trying to find a solution to quickly resolve the web server 502 error using NSURLRequest and NSURLConnection. Right now, even if i set timeoutinterval to 5 seconds, it takes 30 seconds. But more painful thing is that during that time, it makes the app unresponsive with the beach ball