gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Project-Center 0.6.2


From: Daniel Santos
Subject: Project-Center 0.6.2
Date: Thu, 30 Sep 2021 17:50:28 +0100

Hi,

I am adding some changes to this, and have a question : 
I am trying to add a method to PCProjectManager.h and .m.
The code compiles because I can see some warnings go by in the make phase.
But at runtime that selector (named : -(void)newProjectFromSources: (id)sender; 
)
is not on the selector list that I am obtaining with :

  NSLog([NSString stringWithCString: class_getName([projectManager class])]);
  
  unsigned int amountMethod = 0;
  Method *methods = class_copyMethodList([projectManager class], &amountMethod);
  unsigned int i;
  for (i = 0; i < amountMethod; i++) {
    Method method = methods[i];

    printf("\t method named:'%s' \n", sel_getName(method_getName(method)));
  }

What am I doing wrong ? or not doing ? I made a ‘make clean’ and even deleted 
the ProjectCenter.app directory.
Another method I added to the class PCMenuController that is called by a menu 
item works and calls the above code.

Thanks
Regards
Daniel Santos






reply via email to

[Prev in Thread] Current Thread [Next in Thread]