Equivalent function in Objective C

Discussion in 'iOS Programming' started by magga, Oct 13, 2009.

  1. macrumors regular

    Joined:
    May 14, 2009
    #1
    Hi guys,

    I have just started trying to make my own iPhone app after following some examples online and in books.

    What I am trying to do is connect to an external API that returns XML. I am then trying to display certain values from the returned XML on screen.

    The example I have for connecting to this API uses the curl function in php and sends various variables such as username, password and action.

    The question is, how can I replicate this functionality in Objective C?

    I've tried Googling this but haven't been very successful.

    Any pointers in the right direction would be appreciated.

    Thanks
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
  3. thread starter macrumors regular

    Joined:
    May 14, 2009
    #3
    Thanks for that, I took a look but it went a bit over my head to be honest.

    I think I need to go over a load of the basics again!
     
  4. macrumors member

    g3funk

    Joined:
    Oct 2, 2008
    #4
    Yeah, this is exactly how I do it as well. In addition, I only get to really build apps on the weekends so I am constantly going back to the basics with the oddest things I run into. It is always worth it, especially if you are new to C to always be going back to basics to improve / make life easier.
     

Share This Page