I开发者_开发百科've getting this warning warning: 'BNColor' may not respond to '+beInit'
I'm not sure why.
Any ideas ?
Have you included/imported NSObject+Be.h
in BNColor.m
?
Also, methods whose names contain init
and copy
should return objects owned by the caller, i.e., don’t autorelease them.
Apparently you are using a third party library that exposes an BNColor class and you are trying to send the class object, BNColor, the beInit class method, which the BNColor class apparently doesn't respond to (that is, beInit is not defined as a class method of BNColor).
精彩评论