openURL Question
openURL Question
- Subject: openURL Question
- From: Henry McGilton <email@hidden>
- Date: Mon, 9 Jun 2003 14:14:09 -0700
What Ho All,
I am working with a chunk of code to create a URL to
a web page and then use NSWorkspace to open that URL.
As part of the testing process, I deliberately inject a
non-existent URL into the mix. The browser reports that
the web page does not exist.
However, I expected the openURL method to return NO to
indicate that the URL was not opened successfully.
But it returns YES.
The documentation states:
'returns YES if the location was successfully opened,
NO otherwise'
So, what does the documentation story *really* mean?
Best Wishes,
........ Henry
===============================+============================
Henry McGilton, Boulevardier | Trilithon Software
Objective-C/Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden |
http://www.trilithon.com
|
===============================+============================
_______________________________________________
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.