|
From: | Dirk Lattermann |
Subject: | [GDL2] EODetailDataSource and EODisplayGroup |
Date: | Fri, 18 Mar 2005 00:02:39 +0100 |
Hello,an EODisplayGroup needs an EOEditingContext so that it can observe its objects. The docs say it should get the editing context from its data source in setDataSource:.
Now, how is this supposed to work with an EODetailDataSource, whose editingContext: method returns the editing context of the source's master object? Is it safe to assume that a data source will never "switch editing contexts"? And even then there's a problem because the detail data source's editing context isn't set until the detail data source is qualified with a master object, which usually means that the master data source has fetched and selected objects. I don't think that's the case normally when setting up the display group, or is it?
Puzzled again, Dirk
[Prev in Thread] | Current Thread | [Next in Thread] |