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

Help coding Mac Web App

Discussion in 'Mac Programming' started by jordanhuxley, May 27, 2011.

  1. macrumors member

    #1
    I'm creating a simple, quick web app for my Mac Book Air 2010. I managed to create a basic web browser, but want to add tabbed browsing and a sidebar search to it. Can anyone help me with this coding?

    I've uploaded an image of the app and the project files if anyone can help.
    I'm using the latest version of XCode 4, is that helps?
     

    Attached Files:

  2. macrumors 603

    Cromulent

    #2
    What have you tried yourself?
     
  3. macrumors member

    #3
    This is my first attempt at using Xcode. I've watched a tutorial on YouTube to do what i've got so far.

    There were a few tutorials for the search box function but they were for Xcode 3 and didn't make a lot of sense for the new version.

    I'd offer some sort of reward, if someone can do it for me?
     
  4. macrumors 65816

    jiminaus

    #4
    You're not allowed to solicit on the forum. And I really wish that you tube video had never been made. It fools you into thinking create a web browser is easy. What you're asking to do it not trivial. It will require creating Objective-C code, and understanding a fair of Cocoa.
     
  5. macrumors member

    #5
    Rather harsh! I hardly said I wanted to create a rival to Safari!

    I just asked whether anyone could give me some advise as to how I could create a functioning web search box.
     
  6. macrumors 65816

    jiminaus

    #6
    No you asked:
    To have a functioning web search box, you could drop a text field and a button labelled search into your window, and have the action of the search button load a google URL constructed from the search text field into the web view.

    This can't be done by simply dragging connections around. What Objective-C and Cocoa do you know?
     
  7. macrumors member

    #7
    Virtually none, i've created the text box and the search button. Would you be kind enough to tell me how to do the next stage?
     
  8. macrumors regular

    #8
    The next stage is learn Objective C and a bit of Cocoa and come back to this problem once you have the foundation to complete it.
     
  9. macrumors 68040

    #9
  10. macrumors 603

    Cromulent

    #10
    You'll certainly need to learn Objective-C for the next bit.

    This will get you going:

    http://developer.apple.com/library/.../ObjectiveC/Introduction/introObjectiveC.html

    then it is just a matter of time while you learn your way around the various Cocoa frameworks.
     
  11. macrumors 65816

    #11
    jordanhuxley,

    You are going to save yourself a lot of time by learning programming first. I basically picked up my first programming book 'Learn C on the Mac' in October and then took a Pascal programming class at city collage last semester. Now the fall semester I have a Java class to step into Object Oriented programming. Last week started to read 'Learn Objective-C on the Mac'.

    I have never built a GUI yet, but I am getting a really good foundation in programming. You have built a GUI, but have have no experience in programming yet. I view a GUI is like taking the tram ride at universal studios. It looks great on the outside but there is nothing functional on the inside.

    Nothing happens over night. Learn to program.

    Good luck,

    -Lars
     

Share This Page