OGeek|极客世界-中国程序员成长平台

标题: ios - 不完整的实现为什么我不能解决这个问题 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-12 03:57
标题: ios - 不完整的实现为什么我不能解决这个问题

请任何人告诉我如何解决不完整的实现警告:

Semantic Issue-Incomplete implementation) @interface SecondController () @end

@implementation SecondController

编辑:

 #import "SecondController.h" 

 @interface SecondController ()
 @end 

 @implementation SecondController

 @synthesize webv;
   - (id)initWithNibNameNSString *)nibNameOrNil bundleNSBundle *)nibBundleOrNil {
       self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
       if (self) {

       }
        return self;
    }  
   -(void)setWebvWebView *)webview {
       [[webview mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString"http://www.yahoo.com"]]];
       [self alertfunction];
     }
 @end



Best Answer-推荐答案


如果没有你的代码,请检查这个。

In the Case of `Semantic Issue - Incomplete implementation`  

Xcode 会告诉你你缺少什么。 步骤:选择 View >导航器>显示问题导航器, 然后拒绝所有的披露三角形: 希望对你有帮助。

enter image description here

关于ios - 不完整的实现为什么我不能解决这个问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15942283/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4