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

Re: NSTableView, NSArrayController, NSManagedObjectContext


  • Subject: Re: NSTableView, NSArrayController, NSManagedObjectContext
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 1 Jan 2008 13:24:48 -0500

On Jan 1, 2008, at 1:02 PM, Ture Pålsson wrote:

  Have you tried telling your *Array Controller* to -fetch: at this
point?

No. I was under the impression that the NSArrayController would watch "its" moc for changes and update automagically (because the "automatically prepares content" flag is set for the controller). Is this not the case?

Hmm ... the documentation says of that flag:

"Sets whether the receiver automatically creates and inserts new content objects automatically when loading from a nib file."

  ... and ...

"If ... a managed object context is set, the initial content is fetched from the managed object context using the current fetch predicate."

  Doesn't sound like it works the way you described to me ... ;-)

--
I.S.


_______________________________________________

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: "Ture Pålsson" <email@hidden>
References: 
 >NSTableView, NSArrayController, NSManagedObjectContext (From: "Ture Pålsson" <email@hidden>)
 >Re: NSTableView, NSArrayController, NSManagedObjectContext (From: mmalc crawford <email@hidden>)
 >Re: NSTableView, NSArrayController, NSManagedObjectContext (From: "Ture Pålsson" <email@hidden>)
 >Re: NSTableView, NSArrayController, NSManagedObjectContext (From: "I. Savant" <email@hidden>)
 >Re: NSTableView, NSArrayController, NSManagedObjectContext (From: "Ture Pålsson" <email@hidden>)

  • Prev by Date: Re: cocoa bindings NSTableColumn to @allKeys?
  • Next by Date: Re: NSTableView, NSArrayController, NSManagedObjectContext
  • Previous by thread: Re: NSTableView, NSArrayController, NSManagedObjectContext
  • Next by thread: Re: NSTableView, NSArrayController, NSManagedObjectContext
  • Index(es):
    • Date
    • Thread