• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Core Data and multiple NIBs: how to share the managedObjectContext?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data and multiple NIBs: how to share the managedObjectContext?


  • Subject: Core Data and multiple NIBs: how to share the managedObjectContext?
  • From: Zeno Crivelli <email@hidden>
  • Date: Thu, 11 Aug 2005 12:25:58 +0200

In my MainMenu.nib I have an NSArrayController instance (in "Entity"
mode => managed by Core Data) called "Items" that allows me to display
some of its content in a table view (also in MainMenu.nib) by bindings
the table columns to this array controller...

I then have another view in a separate NIB called Details.nib that I
would like to use to also display some of the "Items" data. In
particular, I have a couple of textfields whose content should be
updated as soon as I select another row in the table view located in
MainMenu.nib.
Is it possible to do that?

(Ideally, I think I would need -- in Details.nib -- a sort of alias to
the "Items" array controller so that I could bind to it the textfields
values using 'selection' as Controller Key. Problem is, I don't know
how to obtain this "alias" 'cause I don't know how to setup its
bindngs to get the right managedObjectContext)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Core Data and multiple NIBs: how to share the managedObjectContext?
      • From: zeno <email@hidden>
  • Prev by Date: Re: Types for the method have to conform?
  • Next by Date: Re: Distributed Objects between cats
  • Previous by thread: Re: How to make localizedStringForKey: work in a Foundation Tool?
  • Next by thread: Re: Core Data and multiple NIBs: how to share the managedObjectContext?
  • Index(es):
    • Date
    • Thread