On 7/13/07, Jerry Krinock <email@hidden> wrote:
On 2007 Jul, 09, at 11:44, Christiaan Hofman wrote:
> This is just a small style question about sdef files.
>
> I have an app where I customize some objects of the standard suite,
> in particular the document and the application. They are subclasses
> of NSDocument and NSApplication resp. and have some additional
> elements, properties and commands, whose type may be declared in
> the custom suite for my application. My question is whether it is
> appropriate to declare them in the StandardSuite, or would it be
> better style to declare them in my custom suite? Or perhaps both?
Declare the additional elements, properties and commands in your
custom suite.
This is how it is done in Apple's Sample Code project
SimpleScriptingObjects.
But not in Sketch.sdef, where the document with custom properties is declared in the Standard Suite. So I'm still not sure what is the preferred way (if there is one). And this makes it confusing that the dictionary lists the properties of the application object in 2 different places.
Christiaan