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