url from user xcode

Discussion in 'Mac Programming' started by nigam, Feb 10, 2014.

  1. nigam macrumors newbie

    Joined:
    Feb 10, 2014
    #1
    hey,
    i want to get url from user ... but i want that they should get website with out typing http://
    e.g. .. normally in a simple xcode web browser we have to type "http:// " and then web site name

    but it want like user should type the website name .. and http:// should be added behind(in the code)
    thank you!
     
  2. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #2
    I think the reason that nobody replied is that the proper reply is: "If that's what you want to do, then you write code that does it". I don't quite understand what you mean by "simple Xcode web browser". Do you mean a browser that you created using WebKit? Do you mean Safari?
     

Share This Page