Hi Steven

it took me a couple of days to reply, I had to find the time to try myself and then watch your video.

First, I went step by step through the Tutorial [1]  which I updated years ago and found it still valid, except some minor details which are perhaps not worth. I tested current GIT versions of Gorm and ProjectCenter. Actions and Connections work fine, I vereified both existing classes (like AppController) or an instantiated class.

Watching your video I have two hints:

1) to connect an action you start from source (e.g. button) to target class. Then in the inspector either you choose menu or nextkeyView or for a custom action you need to select "target". I fail to understand if you actually do that, I think not.

2) actions need to have a ":" at the end. It is specified in the tutorial. The pre-instantiated name has it. When you click on it and rename it, leave it in or retype in.
Your video was too pixelated for me to fully read the name you typed.

Possibly Gorm could be more refined and just select the name without the colon, but... it is what it is. File an enhancement request. But first check that your name is like "click:" or "myAction:" and not "click" or "myAction". It stands for the (id)sender parameter that all interface actions must have. Vice-versa you can also instantiate the class, define the actions in ProjectCenter header file and use IBAction. there you need to call it like

- (IBAction) myAction:(id)sender;

on save, PC will automatically notify Gorm if it is open, trigger a reparse and if the signature is correct, it will show. You can do that also at a later stage. E.g. a way of working is to draft main actions in Gorm, put actions. Later, if you need one more you forgot, you add it in ProjectCenter and re-parse in Gorm.


Hope it helps...

Riccardo


Steven Harms (High-Security Mail) wrote:


[0]: https://mail.gnu.org/archive/html/discuss-gnustep/2025-07/msg00032.html
[1]: https://www.gnustep.org/experience/PierresDevTutorial/index.html
[2]: https://www.youtube.com/watch?v=0fhuRFIVvaU <https://www.youtube.com/watch?v=0fhuRFIVvaU&lc=UgzmKXVEumd9pCRnnIx4AaABAg>

---




Reply via email to