将“类”重新定义为不同类型的符号 - OS X.

时间:2014-12-30 15:22:10

标签: ios objective-c macos parse-platform

我有两节课: 用户和图片:

    #import <ParseOSX/ParseOSX.h>

@class User;

@interface Picture : PFObject <PFSubclassing>

@property (nonatomic, strong) User *owner;
@property (nonatomic, strong) PFFile * picFile;

+ (NSString *)parseClassName;

@end

    #import <ParseOSX/ParseOSX.h>

@class Picture;

@interface User : PFObject

@property (nonatomic, copy) NSString * facebookId;
@property (nonatomic, copy) NSString * fullname;
@property (nonatomic, strong) PFGeoPoint * location;
@property (nonatomic, strong) Picture * avatar;

@end

但是Xcode说:

将“图片”重新定义为不同类型的符号。

P / S:这些类适用于iOS项目:(。

0 个答案:

没有答案