IE and NSWorkspace crashing issue.
IE and NSWorkspace crashing issue.
- Subject: IE and NSWorkspace crashing issue.
- From: email@hidden
- Date: Mon, 13 May 2002 22:45:57 -0700
Why using the following method as an Action member crashes IE when IE isn'
t open, but works as expected when IE is already open in the background?
- (void)launchURL1: (id) sender
{
NSImage *updateImage;
BOOL openApp;
NSWorkspace *ws = [NSWorkspace sharedWorkspace];
openApp = [ws openURL: [NSURL URLWithString: [headlinesURLArray
objectAtIndex: 1]]];
NSLog(@"Open URL %d", openApp);
updateImage = [NSImage imageNamed:@"updated.jpg"];
[NSApp setApplicationIconImage: updateImage];
}
Codein
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.