Equivalent function in Objective C

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

  1. macrumors regular

    May 14, 2009
    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.

  2. Moderator emeritus


    Jul 24, 2002
  3. thread starter macrumors regular

    May 14, 2009
    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


    Oct 2, 2008
    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