Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

dmf_king

Cocoa/Webkit SDK ... puzzled!

This topic is 5248 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I''m coding a web browser in Cocoa using XCODE - I''m using the webkit SDK. So far it is pretty basic but there is one thing that I simply can''t stand: the fact that you have to input http:// before a web site or file:// before a local file. Thanks in advance for any help. Also if anyone know how to get the progress indicator working using the webkit loading classes please let me know. thx

Share this post


Link to post
Share on other sites
Advertisement
I don''t have a Mac available to me, but this is what I think:


Can''t you have some function that parses the address inputed to check if it''s a file on disk or a web address and prepend the required prefix?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!