即使在阅读了像这样的其他帖子之后,我也无法找到重复的接口定义,也无法使用StackOverflow上提到的任何先前方法解决此问题。
我尝试将#import <UIKit/UIKit.h>
转换为#import "Ukit.h"
,就像其他帖子一样,以及其他所有帖子,但仍然没有。
我怎么能尝试解决这个问题?!
#import <UIKit/UIKit.h>
@interface STEDataSheet : NSObject { // error found: Duplicate interface definition for class 'STEDataSheet'
NSMutableArray *_rows;
NSString *_dataSheetPath;
NSString *_documentsPath;
NSString *_persistenceName;
}
@property (atomic) NSString *sheetId; // error found: property has a previous declaration
@property (atomic) NSArray *rows; // error found: property has a previous declaration
@property (atomic) NSUUID *latestLoadId; // error found: property has a previous
答案 0 :(得分:0)
试试这个:
#import <UIKit/UIKit.h>
@interface STEDataSheet : NSObject { // error found: Duplicate interface definition for class 'STEDataSheet'
NSMutableArray *rows;
NSString *_dataSheetPath;
NSString *_documentsPath;
NSString *_persistenceName;
}
@property (atomic) NSString *sheetId; // error found: property has a previous declaration
@property (atomic) NSArray *rows; // error found: property has a previous declaration
@property (atomic) NSUUID *latestLoadId; // error found: property has a previous
也许您可以找到有关该物业的不同之处:
像这样:
@property(atomic)NSArray * rows;
_rows
self.row
希望它有所帮助;