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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:55:16+00:00 2026-06-05T09:55:16+00:00

I have three array..say array1,array2,array3. All these arrays contains dictionary.Now, I want to copy

  • 0

I have three array..say array1,array2,array3. All these arrays contains dictionary.Now, I want to copy all the objects of these array into a single array and display in table view.
My problem is that how will I copy those three array into 1.
Say;

NSMutableArray *array1 = [NSMutableArray arrayWithObject:Dict1];
    NSMutableArray *array2 = [NSMutableArray arrayWithObject:Dict2];
    NSMutableArray *array3 = [NSMutableArray arrayWithObject:Dict3];   

Now, I want to copy the contains of array1, array2, array3 into array4.How will I do 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-06-05T09:55:18+00:00Added an answer on June 5, 2026 at 9:55 am

    Use this

    NSMutableArray *array4 = [[NSMutableArray alloc] init];
    [array4 addObjectsFromArray:array1];
    [array4 addObjectsFromArray:array2];
    [array4 addObjectsFromArray:array3];
    
    //Do something on array4
    
    [array4 release];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have three arrays, all the same size: xout % cell array xin %
I have two array and three button in segment control i want that when
How to compare the similarity between two arrays? Say I have: Base Array: [.5,0,0,0,.25,0,0,.25,0,0,0,0]
I have a class that contains a dynamically allocated array, say class A {
I'm developing for iOS 5, say I have 2 arrays, the second only contains
Say I have an array of number a <- c(1,2,3,6,7,8,9,10,20) if there a way
Say you have an array, data, of unknown length. Is there a shorter method
I have three array variables of a[dynamic], b[dynamic], c[dynamic] . They can be of
I have three colors in an array, array('blue', 'red', 'green') , and in my
I a having a little trouble with vector or array operations. I have three

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.