NSURL question (easy (i think))
NSURL question (easy (i think))
- Subject: NSURL question (easy (i think))
- From: Mamdouh <email@hidden>
- Date: Thu, 30 May 2002 00:23:54 +0200
Hi all
I have newbie question about URL handling:
I4m trieng to take the string of a NSTextView and make it into an NSURL,
and heres what i4m doing:
NSString *MyUrlString= [MyTextView string];
[[NSWorkspace sharedWorkspace] openURL:[NSURL
URLWithString:@"
http://www.%@.com",MyUrlString]];
You can probably guess that i4m trying to replace the %@ with the
MyUrlString, but i4m making somekind of typo here, or using a wrong
method, but i cant find out what...
I would apriciate if somebody could correct me here!
TIA
Mamdouh
Student/Programmer
Denmark
_______________________________________________
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.