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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:19:23+00:00 2026-05-30T11:19:23+00:00

I am working on an application which uses a UITabBarViewController to hold two UITableViewControllers.

  • 0

I am working on an application which uses a UITabBarViewController to hold two UITableViewControllers.

In the Story Board, I pull out the two UITableVIewControllers which are called firstTVC & secondTVC and then embed them in a UITabBarController.

I have a UIDocument @property with a fetchedResultsController in firstTVC that works great, but I haven’t figured out how to pass the ManagedObjectContext @property from firstTVC to secondTVC.

I have thought about doing it in the app delegate, but I have read that it is considered taboo (especially in iOS 5).

Thanks for reading!

  • 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-30T11:19:24+00:00Added an answer on May 30, 2026 at 11:19 am

    Caborca,

    Apple’s standard Core Data template maintains the MOC on the AppDelegate. Why do you have a problem using it? (Yes, some folks believe all singletons are “code smell.”) That said, this is hanging off of a singleton defined by the Cocoa Touch framework. It already exists and is available everywhere in your code.

    If that doesn’t work for you and you are instantiating via nibs, then you are going to need to create a custom delegate or read the singleton and store it locally in your -viewDidLoad method.

    Andrew

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

Sidebar

Related Questions

I'm working on a .Net application which uses Asp.net 3.5 and Lucene.Net I am
I'm working on an asp.net application which uses Lucene.net I need to highlight the
I'm working on a web based application which uses a JSON over HTTP based
I am currently working on a sample application which uses QNetworkAccessManager to send the
I'm working on an ASP .NET 2.0 site which uses a Web Application project
i am working on an application which uses the iPod like application in iPhone..
I'm working on an application which uses a bootscrapper object to perform some operations
I'm working in an iOS application which uses libXML2 to read XML retrieved from
I am working on a GWT application which uses GWT-RPC. I just made a
I am working on a desktop application which uses JavaDB. I am using NetBeans

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.