在Xcode中获得预期的类型

ank*_*kyy 5 xcode objective-c ios xcode5

我收到错误:期望在xcode中输入一个类型.我不知道为什么我在.h类中遇到这种错误.这是我的代码和屏幕截图.

#import <Foundation/Foundation.h>
@interface NaviGationStack : NSObject
@property (nonatomic, strong) NSMutableArray *navigattionStack;
+(NaviGationStack*)navigationStackClass;
-(void)popViecontrollerFromStack;
-(int)getNumberElementInStack;
-(void)pushViewControllerToStack:(UIViewController *)viewController;
Run Code Online (Sandbox Code Playgroud)

我在最后一个函数中收到此错误.这是错误

tro*_*foe 15

导入UIKit.h而不是Framework.h:

#import <UIKit/UIKit.h>
Run Code Online (Sandbox Code Playgroud)