Hi there, I download Xcode last night and have started work on a basic web browser. I know quite a bit of Visual Basic but don't know any Obj C or Xcode. Here is what I have done:
All of the work I have done is through the mainmenu.xib area. I have added a webview, and added a few buttons for back and forward that I have linked to the webview for back and forward (by right clinking the webview which brings up a grey box and then clicking and dragging from the correct circles to the buttons). I have also added the webkit framework. I have also added a textbox to act as a search box for the browser and it works as long as I type in the full url of a website. I have wrote no code.
This is what I want to do:
I wish for search box to only need the search query (ie what a user is searching) then search using Google (I'd like for it to work by pressing enter, or the "Go" button. How can I go about doing this (I'm sure I will have to make a string var, then add the google url string and the query together then making that search in the webview, but I don't know how to do that in Xcode).
Thank you
MartinAppleGuy
All of the work I have done is through the mainmenu.xib area. I have added a webview, and added a few buttons for back and forward that I have linked to the webview for back and forward (by right clinking the webview which brings up a grey box and then clicking and dragging from the correct circles to the buttons). I have also added the webkit framework. I have also added a textbox to act as a search box for the browser and it works as long as I type in the full url of a website. I have wrote no code.
This is what I want to do:
I wish for search box to only need the search query (ie what a user is searching) then search using Google (I'd like for it to work by pressing enter, or the "Go" button. How can I go about doing this (I'm sure I will have to make a string var, then add the google url string and the query together then making that search in the webview, but I don't know how to do that in Xcode).
Thank you
MartinAppleGuy