Mike,

I haven't used this code in ages. Reading the code, it however appears that the filtered array is turned into a fault each time the it is accessed.

This code was used in a dynamic data modeling application where practically all entities had periods of validity. To see the state of the graph at a given point in time, one would set the desired date on an editing context subclass. From then on all relationships would automatically be filtered and thus large parts of the code could just ignore the whole date thing.

Best,
Pierre Bernard
Houdah Software s.à r.l.

On 2 May 2008, at 15:35, Mike Schrag wrote:

The brave may experiment with this:
To save me from having to setup a test case :) Does this stay in sync with updates to the underlying relationship, or do you have to manually manage the invalidation of the filtered array?

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects-dev%40houdah.com

This email sent to [EMAIL PROTECTED]

---
Pierre Bernard
http://www.bernard-web.com/pierre
http://www.houdah.com



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to