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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:09:41+00:00 2026-05-27T02:09:41+00:00

I have stored the data in nsmutabledictionary, given below the dictionary values which I

  • 0

I have stored the data in nsmutabledictionary, given below the dictionary values
which I stored and the values are the instances, how do I retrieve the values in the object?

English =     (
    "<Row: 0x4e50560>",
    "<Row: 0x4e50790>",
    "<Row: 0x4e509d0>"
);
Roman =     (
    "<Row: 0x4e50c60>",
    "<Row: 0x4e50ea0>"
);
japanese =     (
    "<Row: 0x4e51150>",
    "<Row: 0x4e513a0>",
    "<Row: 0x4e515e0>",
    "<Row: 0x4e51860>"
);
arab =     (
    "<Row: 0x4e50140>"
);

While I retrieving it, the last object is viewed & I can’t view the other object in my code. How do I access the values in the each key of the dictionary and the values are as object. Can anyone explain what I am missing in the above code.

Here is my code

NSArray *keys;
    id key, value;

    keys = [appDelegate.viewDictionary allKeys];
    int count = [keys count];
    for (int i = 0; i < count; i++)
    {
        key = [keys objectAtIndex: i];
        value = [appDelegate.viewDictionary objectForKey: key];
        NSLog (@"Key: %@ for value: %@", key, value);
        for(Row *rs in value) {
            NSLog(@"%@", rs.user);
            //cell.textLabel.text = rs.user;
        }
    }
  • 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-27T02:09:41+00:00Added an answer on May 27, 2026 at 2:09 am

    Here is an example close to your question, look at the code for differences and see if it helps.

    NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
          [NSArray arrayWithObjects:
           @"<Row: 0x4e50560>",
           @"<Row: 0x4e50790>",
           @"<Row: 0x4e509d0>",
           nil], @"English",
    
          [NSArray arrayWithObjects:
           @"<Row: 0x4e50c60>",
           @"<Row: 0x4e50ea0>",
           nil], @"Roman",
    
          [NSArray arrayWithObjects:
           @"<Row: 0x4e51150>",
           @"<Row: 0x4e513a0>",
           @"<Row: 0x4e515e0>",
           @"<Row: 0x4e51860>",
           nil], @"Japanese",
    
          [NSArray arrayWithObjects:
           @"<Row: 0x4e50140>",
           nil], @"Arab",
    
          nil];
    
    
    for (NSString *key in dict) {
        NSArray *value = [dict objectForKey:key];
        NSLog (@"Key: %@ for value: %@", key, value);
        for(NSString *rs in value) {
            NSLog(@"%@", rs);
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have data stored as below in an MS Access database: Date User 20090101
i have a stored procedure that has to retrieve data from multiple tables something
I have a stored proc which unions some data and returns back. At max
I have a stored procedure which takes an XML parameter and inserts the data
I have a database which contains picture data stored as a binary blob. The
I have many objects reference the same class of stored data. In previous programs,
I have a stored procedure that logs some data, how can I call this
I have objects with location data stored in Core Data, I would like to
I have text stored in SQL as HTML. I'm not guaranteed that this data
I have the following scenario: I have various user's data stored in my database.

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.