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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:28:08+00:00 2026-05-27T09:28:08+00:00

here is another question about how to next detailView like in Mail-App from me.

  • 0

here is another question about how to next detailView like in Mail-App from me. There, i wanted to know how to solve that with an array.

Now i am using coreData. I have an entity named EntityAlphabet with – for example – 5 attributes. The attributes doesnt matter here.
In the DetailView, i want to iterate this Entity. How can i do that?

I want to “switch” the entitys in the detailView.

BTW: I am populating my tableView with NSFetchedResultsController.

  • 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-27T09:28:09+00:00Added an answer on May 27, 2026 at 9:28 am

    I have the exact same situation and I just passed an array of managedObjects to the detailView. Then, based upon which up/down arrow they press on the detail view, I select the appropriate object from the array. So it would be similar to the solution from the link you provided. To get the array of objects, in your didSelectRowForIndexPath: method do something along the lines of the following:

    // Assumes your detail view controller has a an NSArray ivar and property setup 
    detailViewController.alphabetObjects=[self.fetchedResultsController fetchedObjects];
    

    This solution is decidedly low tech and I implemented it because of my lack of knowledge at the time, i.e. 2 years ago. Now, I could think of a couple of additional ways of doing it.

    1. Utilize block call backs to the tableView being managed by the NSFetchedResultsController. So when your didSelectRowAtIndexPath method, you would provide the detailViewController with a block that basically takes an indexPath and returns the new managedObject from your NSFetchedResultsController.
    2. Create a protocol that the tableViewController implements. Through the various methods of the protocol you can request the new object as well as update the detailViewController UI. i.e. queries whether or not it is the first or last object in the set of managedObjects.

    Hope this helps. Good luck

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

Sidebar

Related Questions

In answering another persons question here on SO, I discovered that there is a
I asked a question about signal on windows with the same code,here is another
As I don't want to hijack another thread here comes my question about mappings.
There are a lot of questions about upgrading here, but I have another, very
While reading through another question here, on creating a URL shortening service, it was
as a follow up to another question here: i've build a custom contextmenu item
Here's another C#/.NET question based merely on curiousity more than an immediate need ...
Another stupid question here regarding a SQL scenario. Given data such as: FieldKey DocumentKey
I saw another similar question answered here - Velocity editor plugin for Eclipse? .
Hi Masters Of Web Programming, here I come with another stupid question, hoping someone

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.