[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC/PATCH] EOModel
From: |
Richard Frith-Macdonald |
Subject: |
Re: [RFC/PATCH] EOModel |
Date: |
Wed, 27 Nov 2002 06:48:21 +0000 |
On Tuesday, November 26, 2002, at 10:59 pm, David Ayers wrote:
Hello Everyone,
Here's a patch to support more programatic model manipulation:
I applied that, with a fix to a typo and a few very minor updates to
the file.
PS: I orignially wanted to patch findPathForModelNamed: to use
NSSearchPathForDirectoriesInDomains, but the current implemetation
seems so unusual, that I would prefer to remove it. It seaches the
main bundels resource directory for the model (which the global modal
group would also); then it interprets the path as the location of a
loadable bundle and if it is, searches its resource directory; then it
searches for a loadable bundle named "Models" in ~/Library,
/LocalLibrary and /NextLibrary, and if it finds it searches its
resource directory. I think this method should be removed, but maybe
someone can convince me otherwise.
I'm afraid I have no idea ... I never used the original EOF code, so I
don't know what it did, but it seems reasonable to look in resources
belonging to loaded bundles. Is that what it's trying to do?
- [RFC/PATCH] EOModel, David Ayers, 2002/11/26
- Re: [RFC/PATCH] EOModel,
Richard Frith-Macdonald <=