1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Trying to create a browser but...

Discussion in 'Mac Programming' started by The Learner, Jan 20, 2009.

  1. macrumors newbie

    #1
    Well I am new to xcode and so far I am doing pretty well. I have my browser surfing the web and is able to print and go back and forth and what not but there are two key things I would like to do that I am having trouble figuring out. How to get a search bar working and how to create a new tab. Please if your going to give me code can you please tell me in which file to put it. Please to not get mad at me I am trying to learn this in the simplest way as possible. Thank you.:)
     
  2. macrumors 68000

    Me1000

    #2
    Forgive me for not being über specific here but to address your search issue...

    Isn't this just the same as your URL bar?
    instead of sending the user to the URL (which is presumably a string) just send the user to
    Code:
    http://www.google.com/search?q=[b][searchString value][/b]
    or something like that.
     
  3. macrumors newbie

    #3
    See thats the thing, I understand I need to put the string but I don't know where I should but the code. should I put it in mydocument.h, mydocument.m, main.m? thats what I don't know. Thank you though. If you know where to put it please tell me, thank you.
     
  4. Moderator emeritus

    kainjow

    #4
    You can't learn programming like you can learn iMovie. It's completely different. I'd suggest picking up a book.
     
  5. macrumors newbie

    #5
    Ok do you have any books that you could recomend for me then?
     
  6. Moderator emeritus

    kainjow

  7. macrumors newbie

    #7
    Ok looks good, and this will help me build a web browser right?
     
  8. macrumors 603

    Cromulent

    #8
    It will help you learn to program. Then you can use that knowledge to build a browser using your own ingenuity :).
     

Share This Page