iOS 错误之 NSObject 、CGFloat

需要添加

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>

原文地址:https://www.cnblogs.com/SimonGao/p/5098335.html