Re: openURL Question- corrections
Re: openURL Question- corrections
- Subject: Re: openURL Question- corrections
- From: ettore <email@hidden>
- Date: Tue, 10 Jun 2003 20:35:49 -0700
On 2003-06-10 18:59:53 -0700 ettore <email@hidden> wrote:
// malformed URL, existant server, existant page
[workspace openURL:[NSURL URLWithString:@"htt://localhost/"]]; //returns NO
I correct myself: the URL is well formed....
On Monday, June 9, 2003, at 10:14 pm, Henry McGilton wrote:
However, I expected the openURL method to return NO to
indicate that the URL was not opened successfully.
The documentation states:
'returns YES if the location was successfully opened,
NO otherwise'
So, what does the documentation story *really* mean?
So, IMO it seems that the documentation is wrong, since openURL: just checks whether the URL is well-formed or not.... correct me if i'm wrong. :)
Ettore
correction:
I still don't know what the documentation "exactly" means....
-ettore
_______________________________________________
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.