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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:18:18+00:00 2026-06-13T11:18:18+00:00

my application is world guide. there is a 4 tableview and 4 mapview .

  • 0

my application is world guide. there is a 4 tableview and 4 mapview.

  1. Continent
  2. Country
  3. City
  4. Place

I have taken NSMutableArray for each above item and allocate them in view did load . when Asia is selected from the Continent table then only Asian countries should display from the country array. if country is selected then only city of respective country should be display in city table view from the city array like vice for place. it’s like a tree. it is too lengthy to work with an array. Please guide me if another way is exist that make this task easy.

  • 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-13T11:18:19+00:00Added an answer on June 13, 2026 at 11:18 am

    I think the better way to implement should be:

    • Use NSMutableArray only to store the top level Object.
    • Use NSMutableDictionary to store the mid & lower level objects.
    • Store the NSMutableDictionary in your NSMutableArray at each index of your top level Object.
    • Put the key as the Continent name in top NSMutableDictionary & value as country name & follow the same for next level.

    In this case, you have to maintain only a single NSMutableArray to work. No need to handle 4-5 different arrays.

    Hope it works for you.

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

Sidebar

Related Questions

In my hello world application, i have a button and a text field set
I am new to phonegap and android, I have create a hello world application
I have developed the Hello World Android application using Eclipse. I can run the
I'm trying to create an Hello World JSF application. I have a bean with
I have a web-app that is a sort of calendar application and there are
Is there some guide or walkthrough to building a Scala + JavaFX desktop application?
So, I have created a Zend application following the quick start guide (so it
I have a user guide for my application that I would like to provide
I'm new to the Facebook application world and web hosting stuff. I tested my
I am trying to launch my hello world application in emulator of android. But

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.