[OGo-Developer] Significance of PRINCIPAL_CLASS
Adam Tauno Williams
developer@opengroupware.org
Mon, 22 Oct 2007 19:11:35 -0400
What is the significance of the "PRINCIPAL_CLASS" in the context of
something like a ZideStore bundle? In all the bundles in the tree the
PRINCIPLE_CLASS seems to just descend from NSObject and implement
nothing.
I've create a "Hello World" ZideStore bundle for the sake of some
documentation, and I can set the PRINCIPLE_CLASS to a NSObject child or
to the object that actually does the work, it doesn't seem to have any
affect.
I've overloaded init and specified a logWithMessage, and I never see
the message. Is this class even instantiated?
-(id)init
{
self = [super init];
[self logWithFormat:@"object initialized"];
return self;
}
Google, unfortunately hasn't helped much at all.