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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:54:51+00:00 2026-05-31T15:54:51+00:00

I have a SplitViewController with a rootViewController tableview and a detailView tableview. The rootViewController

  • 0

I have a SplitViewController with a rootViewController tableview and a detailView tableview.

The rootViewController contains objects which contain objects in the DetailViewController. If there are no objects in the rootViewController objects then the rootViewController object is removed.

e.g. One Story contains Many Sentences

If you have a Story selected, and you delete the last sentence it contains in the detailViewController – what should you do to the detailViewController? The story is successfully removed from the rootviewcontroller, but I’m not sure what to do in the detailViewController. In an iPhone specific app I would just pop back the navigation controller from sentences to stories, but I’m not sure what to do when the detailViewController is always visible as it is with a svc.

I’ve tried:

  • Setting the detailViewController as a blank tableview
  • Setting the current story object as blank

If I choose to do nothing, I get an CoreData exception:

CoreData: error: Serious application error. An exception was caught
from the delegate of NSFetchedResultsController during a call to
-controllerDidChangeContent:. attempt to insert row 7 into section 0, but there are only 1 rows in section 0 after the update with userInfo
(null)

  • 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-31T15:54:52+00:00Added an answer on May 31, 2026 at 3:54 pm

    Make sure your master view controller can handle an empty list and load a new detail view controller with a label in the middle saying something like “No items”.

    Try creating a new folder (“mailbox”) in Mail and going into it.

    Alternatively, if deleting everything means it’s not useful to show an empty list, you can also automatically pop to the previous navigation level.

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

Sidebar

Related Questions

I have a SplitViewController which has two UITableViewControllers - one master/root one detail. Everything
I have splitViewController which has as MasterViewController some viewController and as DetailViewController some tableViewController.
I have an iPad application with a SplitViewController in which the DetailView has a
In iOS 5, I have created a splitViewController based application in which I have
I have a SplitViewController based app. It uses a rootViewController inside a popoverController. The
Have you ever seen any of there error messages? -- SQL Server 2000 Could
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I have a SplitViewController (iPad) and its leftViewController is a class inherited from UITableViewController;
I have a splitViewController and I would like to add a couple of buttons
I have an iPad interface defined in a storyboard, with a SplitViewController. I want

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.