Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

The Learner

macrumors newbie
Original poster
Jan 20, 2009
4
0
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.:)
 

Me1000

macrumors 68000
Jul 15, 2006
1,794
4
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.:)

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.
 

The Learner

macrumors newbie
Original poster
Jan 20, 2009
4
0
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.
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
You can't learn programming like you can learn iMovie. It's completely different. I'd suggest picking up a book.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.