Re: EOF - was (Cocoa Books (was New to Cocoa) )
Re: EOF - was (Cocoa Books (was New to Cocoa) )
- Subject: Re: EOF - was (Cocoa Books (was New to Cocoa) )
- From: Marco Scheurer <email@hidden>
- Date: Tue, 15 Oct 2002 01:08:00 +0200
On Tuesday, October 15, 2002, at 12:46 AM, Chris Hanson wrote:
At 11:45 PM +0200 10/14/02, Marco Scheurer wrote:
And not just for databases...
Using classes like Qualifier and SortOrdering one can trivially
implement an iTunes-like table with search and sorting based on
selected column. OK, it's database like, but it also works in memory
on collections of objects, you do not have to have an adaptor, an
editing context and so on.
At least you don't need EOF for this any more. My BDControl framework
includes BDQualifier and BDSortOrdering classes that should be drop-in
replacements for the ones in EOF.
Thanks, but we've been using our own versions of Qualifier and
SortOrdering for a while now...
I wrote them so I could write a rule engine for Cocoa applications to
use. (Qualifiers are required for a rule engine, and the use of
qualifiers and sort orderings internally made doing things like
looking up and sorting candidate rules *really* easy.)
Long ago I've asked Apple (and filed a bug report) to at least put
these 2 classes in Foundation since they are so useful, and key/value
is already there.
Marco Scheurer
Sen:te, Lausanne, Switzerland
http://www.sente.ch
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.