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 6161243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:26:42+00:00 2026-05-23T21:26:42+00:00

I am creating a project in which I have three UITextField s and one

  • 0

I am creating a project in which I have three UITextFields and one UIButton. Now on text fields I have function that user give input. I define a target-action on button press which needs to save the values of the text fields in an XML file. How do I create an xml file and save all the data in xml file with unique ID?

-(IBAction)Submit:(id)sender{
    if([txtPhone.text length] == 0 || [txtPhone.text isEqualToString:@""] && [txtName.text length] == 0 || [txtName.text isEqualToString:@""] && [txtEmail.text length] == 0 || [txtEmail.text isEqualToString:@""] )
    {
        UIAlertView *info = [[UIAlertView alloc] initWithTitle:@"Info" message: @"Please fill the form." delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
        [info show];
        [info release]; 
    }
    else {
        sixthView=[[SixthView alloc] initWithNibName:@"SixthView" bundle:nil];
        [self.navigationController pushViewController:self.sixthView animated:YES];
        self.navigationItem.backBarButtonItem = [[[UIBarButtonItem alloc] initWithTitle:@"Back" style:UIBarButtonItemStyleBordered target:nil action:nil] autorelease];
    }
}
  • 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-23T21:26:43+00:00Added an answer on May 23, 2026 at 9:26 pm

    The XSWI project hosts a simple, standalone XML stream writer for iOS implemented in Objective-C.
    As such, it can be used for iPhone, iPad and iPod apps.

    you could get the source code from github project.

    check the SO post for creating an XML request in iPhone.

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

Sidebar

Related Questions

I am creating one class library project. Now by default I have one App.Config
I am creating a Control Library project. I have some Cursor files which i
I'm creating a simple CMS using kohana3 in which user can add project to
I have been busy in my project creating a webapp (in struts) that manages
I have a large project which was originally written in C#1.1 and is now
I have a hobby project which is about creating a tree to store identification
i am developing a project in which i have used many classes. for creating
I am creating a new build process for a DotNet project which is to
I've started development on a project (which used CVS) by downloading its sources, creating
I am creating a voting system for a Q&A site project in which if

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.