Create clickable URLs in XCode

Oct 30, '03 09:30:00AM

Contributed by: Anonymous

XCode now makes URLs clickable within the editor window. Inside any source file in XCode, type the following:


// http://www.apple.com
You'll notice that the URL becomes blue and underlined. Click it and Apple's website will appear in your favorite browser. It appears that any URL you type inside commented code in XCode will produce this kind of link. Email addresses are even easier, just type the address and the link appears.

I've even tested this with addressbook URLs (mentioned in this comment) and they work as well. I don't know what other kinds of URLs might work, but this is almost enough to make me happy.

Comments (0)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20031026140337503