我有两节课: 用户和图片:
#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项目:(。