0
我正在实现一个名为fbDidExtendToken的方法: 出于某种原因,我收到警告,我没有实施这种方法。 这是为什么?神秘的协议没有实现警告
以我的.h:
@interface AppDelegate : UIResponder <UIApplicationDelegate, FBSessionDelegate>
//...
在我.mm
@implementation AppDelegate
//...
-(void)fbDidExtendToken:(NSString*)accessToken
{
}
错误信息是:
/卷/ mchinen/SCM/FindYourself/FindYourself/AppDelegate中。 mm:13:1: 警告:协议中的方法未实现[-Wprotocol,3] /Volumes/mchinen/scm/FindYourself/src/Facebook.h:123:1:注意:这里声明的方法 [3] - (无效)fbDidExtendToken:(的NSString *)的accessToken