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

  • SEARCH
  • Home
  • 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 7033437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:03:56+00:00 2026-05-28T01:03:56+00:00

I need to create excel file through code in iPhone i have two array

  • 0

I need to create excel file through code in iPhone i have two array first array contain names of fruit and second array contain image of that fruit.I want to create excel file some thing like that

apple image of apple here
mango image of mango here
. .
. .
. .
. .
. .
. .
. .
. .
. .

something like that please help me to create this

  • 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-28T01:03:57+00:00Added an answer on May 28, 2026 at 1:03 am

    Try following code to generate Excel File:

    NSFileManager *fileManager = [NSFileManager defaultManager];
    NSString *fullPath = [documentsDirectory stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.xls", @"userdata"]]; //add our file to the path
    [fileManager createFileAtPath:fullPath contents:[xlsString dataUsingEncoding:NSUTF8StringEncoding] attributes:nil]; //finally save the path (file)
    

    Remember, here xlsString is the content of Excel file. you need to create xlsString in such a way that if you insert , (comma) or /t (tab) or other delimiter.. it will go to next cell in Excel File. for Next row use \n (new Line character) in xlsString.

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

Sidebar

Related Questions

I need to create an excel file via C#. I have read a few
I have a Excel sheet with two columns and I need to create new
I have a WPF-mvvm application. I need to read an excel file..and create a
C# or VB.NET suggestion are welcome. I have the following code to create Excel
I need to create an excel file from scratch in VB.NET given a DataTable
I need to create an excel file with simple text data. Concretely, it will
I need to make an excel file which would fetch data from connection to
I need to create a script that extracts some data from a complex Excel
I have seen programs exporting to Excel in two different ways. Opening Excel and
I am working with Excel 2010. I need to create a macro, that after

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.