• 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
NSTableView, NSArrayController, NSManagedObjectContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView, NSArrayController, NSManagedObjectContext


  • Subject: NSTableView, NSArrayController, NSManagedObjectContext
  • From: "Ture PĂ„lsson" <email@hidden>
  • Date: Tue, 1 Jan 2008 13:25:08 +0100

It feels like this has to be an FAQ, but I still can't figure it out...

I have a one-column NSTableView, with the 'value' binding of the
column bound to arrangedObjects.someProperty in an NSArrayController.
The NSArrayController is in "entity" mode and with its
managedObjectContext binding bound to an NSManagedObjectContext. If I
add objects to this MOC, they pop up neatly in the NSTableView. So
far, so good.

Then I have another NSManagedObjectContext, with the same core data
stack beneath it. When I add objects to this MOC (on another thread),
the do _not_ pop up in the NSTableView until I restart my application.
What exactly do I need to do get these objects into the MOC bound to
the table view, so that the table view updates correctly?

  -- Ture
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSTableView, NSArrayController, NSManagedObjectContext
      • From: mmalc crawford <email@hidden>
  • Prev by Date: How to use NSMutableURLRequest with certificate authentication.
  • Next by Date: Bindings: NSArrayController <> Shared User Defaults - more detailed
  • Previous by thread: How to use NSMutableURLRequest with certificate authentication.
  • Next by thread: Re: NSTableView, NSArrayController, NSManagedObjectContext
  • Index(es):
    • Date
    • Thread