objective-c-prefix属性必须后跟接口或协议栈溢出

objective-c-prefix属性必须后跟接口或协议栈溢出,第1张

概述[编译器错误]前缀属性必须后跟接口或协议堆栈溢出 代码在prev中运行良好.项目.发布这么简单的问题我觉得自己像个白痴.这东西怎么了? #import <UIKit/UIKit.h>#import "FlipsideViewController.h"@interface MainViewController : UIViewController <FlipsideViewController [编译器错误]前缀属性必须后跟接口或协议堆栈溢出
代码在prev中运行良好.项目.发布这么简单的问题我觉得自己像个白痴.这东西怎么了?

#import <UIKit/UIKit.h>#import "FlipsIDeVIEwController.h"@interface MainVIEwController : UIVIEwController <FlipsIDeVIEwControllerDelegate><UIPickerVIEwDelegate><UIPickerVIEwDataSource>@property (strong,nonatomic) IBOutlet UITextFIEld *inputText;@property(strong,nonatomic) IBOutlet UIPickerVIEw *picker;@property(strong,nonatomic) IBOutlet UILabel *resultLabel;@property(strong,nonatomic) NSArray *_convertFrom;@property(strong,nonatomic) NSArray *_convertTo;@property(strong,nonatomic) NSArray *_convertRates;@property(strong,nonatomic) IBOutlet UILabel *formelLabel;@property(strong,nonatomic) IBOutlet UITextFIEld *inputText;-(IBAction)textFIEldReturn:(ID)sender;-(IBAction)backgroundtouched:(ID)sender;@end
解决方法 您声明对多个协议的确认,如下所示:

@interface MainVIEwController : UIVIEwController <FlipsIDeVIEwControllerDelegate,UIPickerVIEwDelegate,UIPickerVIEwDataSource>

没有多个尖括号套装.

总结

以上是内存溢出为你收集整理的objective-c-prefix属性必须后跟接口或协议栈溢出全部内容,希望文章能够帮你解决objective-c-prefix属性必须后跟接口或协议栈溢出所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/langs/1230532.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-06
下一篇 2022-06-06

发表评论

登录后才能评论

评论列表(0条)

保存