implicit declaration of function 'objc_lookUpClass'

Posted by idober on Stack Overflow See other posts from Stack Overflow or by idober
Published on 2010-06-01T10:27:20Z Indexed on 2010/06/01 10:33 UTC
Read the original article Hit count: 214

Filed under:

I am getting this warning for the line code:

Class myClass = objc_lookUpClass([_className UTF8String]);

I am adding

#import <Foundation/NSObjCRuntime.h>
#import <objc/objc.h>

And it still don't resolve the problem

Another warning i get on this line is: "Initialization makes pointer from integer without a cast"

© Stack Overflow or respective owner

Related posts about objective-c