i am getting the error:expected a type in xcode.I don't know why i am getting this kind of error in my .h class. here is my code and screen shot.
#import <Foundation/Foundation.h>
@interface NaviGationStack : NSObject
@property (nonatomic, strong) NSMutableArray *navigattionStack;
+(NaviGationStack*)navigationStackClass;
-(void)popViecontrollerFromStack;
-(int)getNumberElementInStack;
-(void)pushViewControllerToStack:(UIViewController *)viewController;
i am getting this error in last function.
Import UIKit.h
rather than Framework.h
:
#import <UIKit/UIKit.h>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With