Thanks for the reply! Good news, but not for my ego: I was missing something small yet significant.
Let's do the easier first. I definitely was creating all actions ending with : . But the easier, and thing that was blocking me was _to actually click the target listing under outlets_. Re-reading the text, I see now that the syntactic placeholder 'target' meaning "The generated instance of the class" confused me with "The outlet called target with the disclosure triangle next to it as listed in the Outlets column." On top of that, since the outlets had been provided when i dragged instance => outlet I was assuming the reverse would be true: that drag control => instance would automatically reveal the actions. I don't recall whether early Interface Builder on OSX 10.2-ish did that or not, that might be a bias that I was automatically bringing in. Can I pay this discovery forward by editing either: https://www.gnustep.org/experience/PierresDevTutorial/index.html or https://developer.gnustep.org/Guides/App/2_Convertor/index.html (and which is canonical? And wow! https://developer.gnustep.org/ looks great, but I never found it in most of my searches and it doesn't seem to be linked off of gnustep.org main page? It also has a <title> element of "<no title>" so maybe it's not meant for general use yet?) I definitely fired 3 footguns in this tutorial that I think I know how to fix). Steven On Mon, Jul 21, 2025 at 05:29, Riccardo Mottola <[[email protected]](mailto:On Mon, Jul 21, 2025 at 05:29, Riccardo Mottola <<a href=)> wrote: > 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> >> >> --- >> >>
