Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4000360
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:46:19+00:00 2026-05-20T07:46:19+00:00

I am programming in Obj-C with X-code and I want to create a project

  • 0

I am programming in Obj-C with X-code and I want to create a project where I am able to pull up information from the database that I have created in my website.

I understand that this can be safely and easily done with a mobile web application. Any ideas how on how I parse the database with Objective-C and X-code ?

Please reply.

Thanks and regards,
-Venkat

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T07:46:20+00:00Added an answer on May 20, 2026 at 7:46 am

    If i’m not mistaken the iOS SDK can not connect directly to your database. The way I do this is to send out a post request using the ASIHTTP class and then parse the returned data from your website. Read the documentation here.
    This is an example of how to use it from one of my own applications:

    NSURL *url = [NSURL URLWithString:@"yoursite.com/page.php"];
    ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
    [request setPostValue:variable1 forKey:@"key1"];
    [request setPostValue:variable2 forKey:@"key2"];
    [request setPostValue:variable3 forKey:@"key3"];
    [request setDelegate:self];
    
    [request startAsynchronous];
    

    You then catch the result with the following code:

    - (void)requestFinished:(ASIHTTPRequest *)request {
        NSError *error = [request error];
    if (!error) {
        NSString *response = [request responseString];
        //do your parsing here
    }
    }
    

    Don’t forget to include the required files and classes to your app. But it’s all explained in the documentation.

    Hope it helps a bit!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just getting started with Obj-C and iOS programming. I have some code that loads
Programming language: Java Ok, so I want to have a BufferedImage that keeps rotating
Android programming. I have a json returning the date from a database as a
I'm new in Obj C programming, so i will start from beginning I have
I am new to obj-c programming, I read Kochan's book. here is code from
Programming language books usually explain that value types are created on the stack, and
i have following code in visual c++ #include<Windows.h> LPCTSTR Caption=LApplication programming INTERFACE; INT WINAPI
I have been studying the bonjour/NSStream sample code from lecture #17 of Stanford's CS193p
My programming background comes from C and some C++ programming with strong emphasis on
I've written my own code to parse an .obj model file - essentially just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.