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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T07:10:02+00:00 2026-05-24T07:10:02+00:00

Just curious why ManagedObjectContexts should be passed to UIViewControllers when they are created, rather

  • 0

Just curious why ManagedObjectContexts should be passed to UIViewControllers when they are created, rather than just grabbing them from a UIApplicationDelegate?

The docs say that this makes your applications more rigid, but I am failing to see the nuances of when to use which pattern.

Thanks!

  • 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-24T07:10:02+00:00Added an answer on May 24, 2026 at 7:10 am

    Imagine that I ask you to do some task, like painting a room. If I just tell you “go paint a room,” you’ll need to ask me a lot of questions, like:

    • Which room?
    • Where’s the paint?
    • Where are the brushes?
    • Should I use a dropcloth?

    In short, you won’t be able to complete the task without help from me. If you have to depend on me every time, you won’t be a very flexible painter. One way to deal with that problem is for me to give you all the stuff you need at the outset. Instead of “go paint a room,” I’ll say “please paint room number 348 using this bucket of paint and this brush, and don’t bother with a dropcloth.” Now, you’ve got everything you need, and you can get right to work with no further help from me. You’re a much more flexible worker because you no longer depend on me.

    The same thing applies to view controllers (and objects generally); it’s better to give them everything they need than to have them depend on a particular object like the app delegate. It’s true not just for managed object contexts, but for any information they need to do their job.

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

Sidebar

Related Questions

Just curious about it... Cedric Beust created TestNG and I understand from an interview
Just curious How do we know that it'll save in jpg, png, rather than
Just curious - apart from its ubiquitous use in specifying the presentation of HTML
Just curious, they sound similar. What are the differences between ExecuteCore() vs OnActionExecuting(ActionExecutingContext filterContext)?
Just curious about speed of Python and Java.. Intuitively, Python should be much slower
Just curious, when I imported data from a spreadsheet with 519 lines into an
Just curious about how to overload them. The opAssign operators are like addAssign(+=) and
just curious if this will actually run, I modelled it after an example from
just curious if there is an alternative solution to the Json.Net library from james
Just curious here: is it possible to invoke a Windows Blue Screen of Death

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.