[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Renaissance]platform objects' awakening
From: |
Dirk Lattermann |
Subject: |
[Renaissance]platform objects' awakening |
Date: |
Thu, 17 Jul 2003 16:36:15 +0200 |
User-agent: |
Mutt/1.4i |
Hello Nicola!
Thanks for your instant help! I'm making some promising
advances with the EOAssociation connector. Binding a text field
to a database via an EOControlAssociation is working here now!
I haven't factored out the new classes into a seperate library,
but will do it after I have implemented some more.
When trying to make EODisplayGroups available to Renaissance, too,
I stumbled over the following:
EODisplayGroups have an property fetchesOnLoad which, when set to YES,
tells them to issue a fetch to their EODataSources after they have
loaded from a nib (resulting in a fetch from the database). In Mulle's
implementation of EOInterface, this is done in
-[EODisplayGroup awakeFromNib], I don't know where it's done in
Apple's version. To be able to use this feature, I suggest the
following patch to GSMarkupAwaker.m. That way, the platform object
can be a real EODisplayGroup and not a subclass which implements
-awakeFromGSMarkup. Yet I don't know if that would harm some other
platform objects.
Cheers, Dirk.
--- Renaissance.orig/Source/Markup/GSMarkupAwaker.m Fri Jul 11 20:11:23 2003
+++ Renaissance/Source/Markup/GSMarkupAwaker.m Thu Jul 17 16:30:29 2003
@@ -70,10 +70,14 @@
{
if ([object respondsToSelector: @selector(awakeFromGSMarkup)])
{
[object awakeFromGSMarkup];
}
+ else if ([object respondsToSelector: @selector(awakeFromNib)])
+ {
+ [object awakeFromNib];
+ }
}
}
@end
- [Renaissance]platform objects' awakening,
Dirk Lattermann <=