Hello,
I read the part "Building Apps from Code Only": it was very clear and
instructive. I prefered this part more than the Gorm one which
preceeded. Of course, I will read again and practice.
I would firstly thank the authors to provide such good tutorials.
Maybe we could improve the examples if I understood as expected the
code provided:
1) In the section: "5 - Adding a Window to your application"
https://developer.gnustep.org/Guides/AppsWithCodeOnly/GettingStarted/5_Windows.html
In the '@interface', the 'dealloc' method (although the author said it
is not mandatory to use it) is not declared first. We could add it:
- (void) dealloc;
In the '@implementation', following the warning while building, I
should modify the method like this:
- (void) dealloc
{
RELEASE (myWindow);
[super dealloc];
}
Now the project is safely building without any warning.
2) And if you agree this the above changes, the same could be done for
the same reasons in the 6th section.
3) A must have, to provide a more complete template, could be done
within the subsection "3.6 Creating a standard info panel" with an
appendix about what files or bundle to provide related to the standard
method 'orderFrontHelpPanel'.
Indeed, one who search about this could be confused because OPENSTEP
specs recommend to use rtfd index and toc in a help bundle while Apple
seems to use now html. So, what is the GNUstep way to implement the
helps resources expected by a standard help menu item? Is this
question not yet clear-cut or documented elsewhere?
Regards,
Patrick
--
Patrick Cardona - Pi400 - GNU/Linux aarch64 (Debian 13.2)
Xorg (1:7.7+24) - libcairo2 (1.18.4-1+rpt1 arm64)
Window Maker (0.96.0-4) - GWorkspace (1.1.0 - 02 2025) - Theme:
AGNOSTEP - MUA: GNUMail (1.4.0)