#import <Foundation/Foundation.h>
@interface FaceObject : NSObject
@property (strong, nonatomic) UIImage *image;
@end
Xcode gives an error saying "an unknown name like" UIImage "if I do not import UIKit.h, but in Xcode 5 I would not get this error and would not need to import UIKit - is there any explanation for this? I do what something wrong? Thanks!
source
share