Re: NSTableView, NSArrayController, NSManagedObjectContext
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
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>) |