Tutorials: How to instantiate a NSDocumentController

Patrick Cardona <[email protected]> Sat, 06 Dec 2025 20:39:05 +0100
Newsgroups gmane.comp.lib.gnustep.general
Message-ID <556a6f858fac84a70f74225ff356a9e7@pi400>
Hello,

I am following existing tutorials to learn more about objectiveC 
coding with GNUstep.

In this tuto: 4. Money, about a Document Based Application:
https://developer.gnustep.org/Guides/App/4_Money/4.1.html

It is suggested to instantiante directly 'NSDocumentController', but 
as I can see in Gorm, when I select the 'NSDocumentController' class:
   - The menu 'Classes > Instantiate' is grayed;
   - The menu 'Operations >  Instantiate' does not create the expected 
instance.

Maybe we should create a new subclass inherited from 
'NSDocumentController' first?


About the previous guides, I could obtain running tools and apps with 
a few adjustements from chapters 1 and 2. I shameless did not finish 
3.4 in TimeMachine... This third chapter was not obvious if intended 
to newcomers.

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)