Use of undeclared identifier

I'm working on an objective c based macos project for years, containing numerous Objective C classes.

For some reason, in a particular class I can bind new IBOutlets in Interface builder, but in my .m file I get always the error: Use of undeclared identifier ' my buttoname '

Someone any idea?

I'm working with: XCode 13.2.1

Answered by MacDev001 in 703954022

I finally "solved" the issue by creating a new cocoa class, and just copy past exact the same code in this new class, problem solved...

Accepted Answer

I finally "solved" the issue by creating a new cocoa class, and just copy past exact the same code in this new class, problem solved...

Use of undeclared identifier
 
 
Q