Hi,
I'd like to set the application that should be run when a URL with a
given scheme is opened. The only way I've found to do this is
_LSSetDefaultSchemeHandlerURL, but I'd rather not go with an
undocumented API if it can be avoided. Is there a Cocoa API or
something for this that I haven't been
fter I register the handler,
but that doesn't seem to help.
Thanks in advance,
Matt
On Fri, May 16, 2008 at 5:49 PM, Matthew Gertner
<[EMAIL PROTECTED]> wrote:
> This works like a charm except for one thing. After I register my
> handler, it gets requests to load a new URL
abase fixed the problem. I'll look into registering the
second bundle programmatically.
Matt
On Fri, May 16, 2008 at 6:27 PM, Jens Alfke <[EMAIL PROTECTED]> wrote:
>
> On 16 May '08, at 8:57 AM, Matthew Gertner wrote:
>
>> After I register my
>> handler, it ge
Hi,
Perhaps this isn't the right place to ask this, but I have a Cocoa
application that uses Growl for notifications. I'm looking for
information about how to create a package so the application is
distributed with Growl for those users who don't already have the
latter installed. Can anyone give
app.
>
>
>
> Sent from my iPhone
>
> On 9 Jul 2008, at 13:27, "Matthew Gertner" <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> Perhaps this isn't the right place to ask this, but I have a Cocoa
>> application that uses Growl for notificat
Hi,
I am implementing an application delegate for a framework (Mozilla)
that already registers its own delegate internally. Ideally I would
like to be able to handle specific delegate messages in my class (in
this case adding items to the dock tile menu) and forward all other
invocations to the ol
nvocation*) invocation
> {
> SEL aSelector = [invocation selector];
>
> if ([[self oldDelegate] respondsToSelector:aSelector])
> [invocation invokeWithTarget:[self controller]];
> else
> [self doesNotRecognizeSelector:aSelector];
> }
>
>
>
t; as opposed to just the ones the old delegate implements, but hopefully that
> won't cause any problems. I suppose you could do some low-level hacking
> where you detect which methods the old delegate implements and then remove
> unneeded methods from your delegate class.
>
>
Hi,
I'm trying to add a new menu to the main menu of my application using
Cocoa. I thought something like this would do the trick:
NSMenu* menu = [[NSMenu alloc] initWithTitle:@"foo"];
NSMenuItem* item = [[NSApp mainMenu] addItemWithTitle:@"foo"
action: nil
keyEquivalent: @""];